Pattern和Matcher的基本用法

                                     
Pattern p = Pattern.compile(reg);	
Matcher matcher = p.matcher(h);			
while(matcher.find()){
	System.out.println((matcher.group()));
}

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.