\b |
word boundary |
? |
previous character
zero or one time |
\w |
alphanumeric
character |
+ |
previous character
one or more times |
\W |
non-alphanumeric |
^ |
following character
at beginning of line |
\d |
digit |
$ |
previous character
at end of line |
\D |
non-digit |
[xyz] |
any one
of x, y, z |
\s |
whitespace (NL,
tab, etc.) |
(xyz) |
all
of xyz together (groups xyz) |
\ |
escapes next
character |
| |
or |
. |
single instance
wildcard |
{x,y} |
minimum-x and
maximum-y times of match |
* |
multiple instance
wildcard (greedy) |