Essential Classes Java Book

A regular expression is a pattern. And we use the pattern to find matches in other strings.
There are two classes that support regular expression processing: Pattern and Matcher.
Pattern define a regular expression. Matcher do the matching with the pattern