//创建规则
Pattern pattern = Pattern.compile(".*label":"(.*?)"");
//匹配
Matcher m = pattern.matcher(str);
//group下标从1开始
return m.find() ? m.group(1) : null;
暑期编程PK赛
得CSDN机械键盘等精美礼品!


