April 2021
Intermediate to advanced
348 pages
5h 7m
English
R uses seven regular expression functions for pattern matching and replacement. If you know how to use these functions with appropriate regular expression patterns, then you have a worthy and efficient toolkit for most data science applications.
Let’s look at code using each function.
grep: a RegEx pattern which matches string vectors. If “value = TRUE” is specified, matching characters are returned. In other words, if the input = “aabbcc” and the pattern is “aa”, the output will be ...
Read now
Unlock full access