This quick-sheet supplements the materials for my regular expressions workshop
A proper cheat-sheet: https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/
\w
- word character\d
- digit\s
- space\b
- word boundary.
- wild card (matches anything)?
- optionality: 0 or 1+
- one or more*
- 0 or more{99,99}
- where 99 is a digit( )
- use with |
(pipe character) for optionality.
(a|b)
. Can use with String Replacement (below)[ ]
- a range of charcters.
[a-g]
[CDLI]
$n
$1
, $2