In this post I’ll be walking through some basic examples of regex, or regular expressions, and also providing a couple real-world examples.
To quote Hadley Wickham and Garrett Grolemund (2017), regex is a “language that allow[s] you to describe patterns in strings.