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.