14. Regular Expressions
Chapter Contents
This chapter explains how to use the java.util.regex
Application Programming Interface (API) for pattern matching with regular expressions.1 Although the syntax accepted by this package is similar to the Perl programming language, knowledge of Perl is not a prerequisite.2 This chapter starts with the basics and gradually builds to cover more advanced techniques.
Get The Java® Tutorial: A Short Course on the Basics, 6th Edition 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.