13. Regular Expressions

This chapter explains how to use the java.util.regex1 Application Programming Interface (API) for pattern matching with regular expressions. Although the syntax accepted by this package is similar to the Perl2 programming language, knowledge of Perl is not a prerequisite. This chapter starts with the basics and gradually builds to cover more advanced techniques.

1. 7/docs/api/java/util/regex/package-summary.html ...

Get The Java® Tutorial: A Short Course on the Basics, Fifth Edition now with the O’Reilly learning platform.

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