So, you're looking for instructions how the regex pattern should look like for your case?
-
Well, you can find the helppages by entering
?regex
in the RStudio console. -
If these helppages are not sufficient, you may be interested in the
RegExplain
addin which contains a nice overview of the many available resources:
For more info on this addin: