String pattern = "(actId.*)";
// 创建 Pattern 对象
Pattern r = Pattern.compile(pattern);
Matcher m = r.matcher(string);
String group="";
if(m.find()){//调用group前 必须调用 find ?? 什么鬼逻辑
group = m.group(1);
}
group=group.replace("actId: \"","").replace("\",","");
//System.out.println(group);
String pattern0 = "(itemCode.*)";
// 创建 Pattern 对象
Pattern r0 = Pattern.compile(pattern0);
Matcher m0 = r0.matcher(string);
String group0="";
if(m0.find()){//调用group前 必须调用 find ?? 什么鬼逻辑
group0 = m0.group(1);
}
group0=group0.replace("itemCode: \"","").replace("\",","");