Regular Expressions Every R programmer Should Know

Regex: The backslash, \ Regex: The hat ,^, and dollar, $ Regex: Round parentheses,(), and the pipe, | Regex: Square parentheses,[], and the asterisk, * 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 install.packages("stringr") library("stringr")