Java Programming/Regular Expressions

From Wikibooks, open books for an open world
< Java Programming
Jump to: navigation, search

Matcher m=Pattern.compile("regex").matcher("astring"); then use this Matcher object to get all matches from the candidate "astring".