package util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class AssTag {
	public static String clean(String text){
		Pattern pattern = Pattern.compile("\\{[^\\{]*\\}");
		Matcher matcher = pattern.matcher(text);
		return matcher.replaceAll("");
	}
	public static void main(String [] args) {
		String s="123{\\kfsc}12";
		System.out.println(AssTag.clean(s));
	}
}

@@ -123,21 +123,21 @@
  String 
-clean
+strip
 (String 
@@ -386,13 +386,13 @@
 Tag.
-clean
+strip
 (s))

rename clean to strip