/
Match Highlights
Matches will be highlighted here…
Regex Quick Reference
| . | Any character except newline |
| \d | Digit [0-9] |
| \w | Word character [A-Za-z0-9_] |
| \s | Whitespace (space, tab, newline) |
| \D \W \S | Non-digit, non-word, non-whitespace |
| ^ $ | Start / end of string (or line with m) |
| * + ? | 0+, 1+, 0 or 1 repetitions |
| {n} {n,m} | Exactly n, or n to m repetitions |
| [abc] | Character class — a, b, or c |
| [^abc] | Negated class — not a, b, or c |
| (abc) | Capture group |
| (?:abc) | Non-capture group |
| a|b | Alternation — a or b |
| \b | Word boundary |
| (?=abc) | Positive lookahead |
| (?!abc) | Negative lookahead |