Examples using the Matcher class

The Matcher class represents the main regular expression engine in Java that provides all the functionality and features required to match regular expressions against input. Let's look at some important methods of this class with practical examples to understand their use.

Get Java 9 Regular Expressions now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.