Matches
Highlight
Cheat Sheet
. Any character (except newline)
\d Digit [0-9]
\w Word char [a-zA-Z0-9_]
\s Whitespace
\b Word boundary
^ Start of string/line
$ End of string/line
* 0 or more
+ 1 or more
? 0 or 1
{n} Exactly n
{n,m} Between n and m
[abc] Character class
[^abc] Negated class
(abc) Capture group
(?:abc) Non-capture group
(?=abc) Positive lookahead
(?!abc) Negative lookahead
(?<=abc) Positive lookbehind
a|b Alternation (or)
\1 Backreference
(?<name>) Named group