Chapter 1, Getting Started with Regular Expressions, teaches what regular expressions are, what problems are best solved using regular expressions, and the rules to follow while writing them.
Chapter 2, Understanding the Core Constructs of Java Regular Expressions, covers quantifiers, anchors, boundary matchers, and all the available character classes and properties in Java. We will also learn Unicode text matching using regex in Java.
Chapter 3, Working with Groups, Capturing, and References, explores how to match and capture text in regex, the various types of groups available to us, the naming and numbering of a captured group, and how we should use back-reference for the captured groups.
Chapter 4, Regular Expression ...