package order.bean.ubb;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Util {
public static String clearHtmlTag(String s, int much) {
try {
Matcher m = null;
m = Pattern.compile("<([^>]*)>", Pattern.DOTALL).matcher(s);
while (m.find()) {
for (int i = 1; i <= m.groupCount(); i++) {
System.out.println("找到 = " + m.group());
s = s.replaceAll(m.group(), "");
}
}