E.3 Summary

For a compact and useful overview of R’s regex options, see the R Studio cheatsheet on Basic Regular Expressions in R (contributed by Ian Kopacka):

Basic regular expressions in R (by Ian Kopacka)<br> available at [R&nbsp;Studio Cheat Sheets](https://www.rstudio.com/resources/cheatsheets/).

Figure E.2: Basic regular expressions in R (by Ian Kopacka)
available at R Studio Cheat Sheets.

Additionally, the back page of the R Studio cheatsheet on the stringr package (Wickham, 2019a) contains a useful overview on regular expressions:

Text and string manipulation with **stringr** and regular expressions<br>from [R&nbsp;Studio Cheat Sheets](https://www.rstudio.com/resources/cheatsheets/).

Figure E.3: Text and string manipulation with stringr and regular expressions
from R Studio Cheat Sheets.

For more information on creating and manipulating strings of text, see Chapter 9 on Text data.

References

Wickham, H. (2019a). stringr: Simple, consistent wrappers for common string operations. Retrieved from https://CRAN.R-project.org/package=stringr