Chapter 12 Regular Expressions

Regular Expressions, by xkcd.

Figure 12.1: Regular Expressions, by xkcd.

In this Chapter we introduce the concept of regular expressions, a powerful tool that enables you to search for complex patterns in text. We will continue to use functions from the stringr package, so make sure you have it attached.