O'Reilly logo

Java 9 Regular Expressions by Anubhava Srivastava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What this book covers

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required