Summary

In this chapter, you were introduced to Java programs using regular expressions using the String and Scanner classes. We discussed the methods available in these two APIs that are related to regular expression handling and how we can make use of those methods in our code.

In the next chapter, we will cover the Pattern and Matcher classes, which are the most important classes for programs using regular expressions.

Get Java 9 Regular Expressions now with the O’Reilly learning platform.

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