Regex Notes
Regex Notes
COMBINATIONS:
.* anything
* match the previous element as MANY times as possible (zero or more times) GREEDY
*? match the previous element as FEW times as possible LAZY
(?i) Make the whole search case insensitive
ANCHORS
^ beginning of a line
$ end of a line
\w matches word characters. A word character is a character a-z, A-Z, 0-9,
including _ (underscore)
\W matches NON word characters