62,634
社区成员




String str ="<p class=\"page\">共 65 条纪录, 4 页 ";
Matcher m =Pattern.compile(".*共.*?(\\d+).*?条纪录,\\s+(\\d+)").matcher(str);
while (m.find()) {
System.out.println(m.group(1)+"--------->"+m.group(2));
}
其次你的这个 \\s*共 \\w*\\ 条记录, \\w*\\ 页\\s*
到底是那个 记录 or 纪录