Regular Expressions Every R programmer Should Know
Published: April 12, 2018
Regular expressions. How they can be cruel! Well we're here to make them a tad easier. To do so we're going to make use of the {stringr} package. We're going to use the str_detect() and str_subset() functions. In particular the latter. str_detect() is used to detect whether a string contains a certain pattern.