← Back to naviwork.tools

Regex Tester

Test regular expressions with real-time match highlighting and capture groups.

g
i
m
s

Cheatsheet

.Any character
\dDigit [0-9]
\wWord char [a-zA-Z0-9_]
\sWhitespace
^Start of string
$End of string
*0 or more
+1 or more
?0 or 1 (optional)
{n,m}Between n and m
[abc]Character set
[^abc]Negated set
(abc)Capture group
(?:abc)Non-capture group
a|bAlternation
(?=abc)Lookahead
(?<=abc)Lookbehind
\bWord boundary