java compile、matcher
public static String match(String value ,String complie){
String rs = null;
Pattern regular = Pattern.compile(complie);
Matcher matcher = regular.matcher(value);
if(matcher.find()){
rs = matcher.group(1);
}else{
rs = "没有匹配到想要的东西";
}
return rs;
}