Here is the list of expressions:
1. . = Matches Any Character
2. \d = Digit (0–9)
3. \D = Not a digit (0–9)
4. \w = Word Character (a-z, A-Z, 0–9, _)
5. \W = Not a word character
6. \s = White space (space, tab, newline)
7. \S = Not white space (space, tab, newline)
8. \b = Word Boundary
9. \B = Not a word boundary
10. ^ = Beginning of a string
11. $ = End of a String
12. [] = matches characters or brackets
13. [^ ] = matches characters Not in brackets
14. | = Either Or
15. ( ) = Group
16. *= 0 or more
17. + = 1 or more
18. ? = Yes or No
19. {x} = Exact Number
20. {x, y} = Range of Numbers (Maximum, Minimum)
Regular Expressions in R language (With Examples)
Теги
r (programming language)r programmingdata analysisdata explorationr programming tutorialr programming trainingr courser tutorialdata science with r programmingdata sciencedata science with rr programming coursedata science trainingdata structures RVector Operations in Robjects in Rdata frameslist operations in Rarrays Rfactors in Rloops in Rconditional statements Rstring functions in Rstringrregexregular expressions