正則表達式筆記

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