String a = “<![CDATA[3级]]>”;
String regEx="[^0-9]";
Pattern p = Pattern.compile(regEx);
Matcher m = p.matcher(fl);
System.out.println( m.replaceAll("").trim());
结果:3
String a = “<![CDATA[3级]]>”;
String regEx="[^0-9]";
Pattern p = Pattern.compile(regEx);
Matcher m = p.matcher(fl);
System.out.println( m.replaceAll("").trim());
结果:3