TEST STRING
MATCHES
0 matches
▾ CHEAT SHEET
| . | Any character (except newline) |
| \d \D | Digit / Non-digit |
| \w \W | Word char / Non-word |
| \s \S | Whitespace / Non-space |
| \b \B | Word boundary / Non-boundary |
| ^ $ | Start / End of string |
| * + ? | 0+, 1+, 0 or 1 |
| {n,m} | Between n and m times |
| *? +? | Lazy (non-greedy) quantifiers |
| [abc] | Character class |
| [^abc] | Negated character class |
| (abc) | Capturing group |
| (?:abc) | Non-capturing group |
| (?<name>) | Named group |
| a|b | Alternation (or) |
| (?=a) | Positive lookahead |
| (?!a) | Negative lookahead |
| (?<=a) | Positive lookbehind |
| (?<!a) | Negative lookbehind |
| \1 $1 | Backreference / Replacement |