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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.