正则表达式笔记

用AAA去匹配AAABBBCCC,AAA:匹配字符串,AAABBBCCC:被匹配字符串 Pattern pattern = Pattern.compile(sub); Matcher matcher = pattern.matcher(html); while(matcher.find()) System.out.println(matcher.group()); ----------------
相关文章
相关标签/搜索