Regex Tester

Test regular expressions in real time with live match highlighting.

//

Regex Quick Reference

.Any character (except newline)
\dDigit (0-9)
\wWord character (a-z, 0-9, _)
\sWhitespace
^Start of string / line
$End of string / line
*0 or more
+ 1 or more
?0 or 1 (optional)
(x)Capture group
(?:x)Non-capture group
(?<n>x)Named capture group