Pattern和Matcher的基本用法 Leave a Comment / Java / August 20, 2008 August 20, 2008 Pattern p = Pattern.compile(reg); Matcher matcher = p.matcher(h); while(matcher.find()){ System.out.println((matcher.group())); }