In this chapter, you learned about the most important regular expression handling Java classes. The Matcher and Pattern classes are heavy and complex tools that can be used to get really far when it comes to string manipulation. We have seen an example of a compound task, transforming name-value pairs inside a string, enclosed between angular brackets. If you imagine how hard it would have been without regular expressions and these classes, then you realize the power you now have in your hand after this chapter; it is almost wizard-level.
In the next chapter, we will move on to advanced topics of regular expressions, such as zero-width assertions, using the lookahead and lookbehind assertions, atomic groups, and so on.