PATTERN
/
/
TEST STRING
REPLACE:
HIGHLIGHTED MATCHES
MATCHES: 0
GROUPS: 0
TIME: 0ms
MATCH DETAILS
| # | MATCH | INDEX | GROUPS |
|---|
CHEATSHEET
| . | Any char (except newline) | \d | Digit [0-9] |
| \w | Word char [a-zA-Z0-9_] | \s | Whitespace |
| ^ | Start of string/line | $ | End of string/line |
| * | 0 or more | + | 1 or more |
| ? | 0 or 1 | {n,m} | n to m times |
| [abc] | Char class | [^abc] | Negated class |
| (abc) | Capture group | (?:abc) | Non-capture group |
| a|b | Alternation | \b | Word boundary |
| (?=abc) | Positive lookahead | (?!abc) | Negative lookahead |
| (?<=a) | Positive lookbehind | (?<!a) | Negative lookbehind |