Live regex match highlighting with flag support and captured groups — runs in your browser.
.
Any char\d
Digit (0–9)\D
Non-digit\w
Word char\W
Non-word\s
Whitespace\S
Non-space[abc]
Char set[^abc]
Negated set^
Start of line$
End of line\b
Word boundary\B
Non-boundary*
0 or more+
1 or more?
0 or 1{n}
Exactly n{n,m}
n to m*?
Lazy (0+)+?
Lazy (1+)(abc)
Capture group(?<n>abc)
Named group(?:abc)
Non-capture(?=abc)
Lookahead(?!abc)
Neg. lookahead(?<=abc)
Lookbehind(?<!abc)
Neg. lookbehind