Regex Tester

Test and debug regular expressions with live matching and highlighting.

//

Quick Reference

.Any character
\dAny digit (0-9)
\wWord character (a-z, A-Z, 0-9, _)
\sWhitespace
^Start of string
$End of string

Quantifiers

*0 or more
+1 or more
?0 or 1
{n}Exactly n times
{n,m}Between n and m times