Regex Tester

Test and debug regular expressions with real-time matching and highlighting.

Regular Expression

//g
Common:

Test String

Matches (0)

Enter a pattern to find matches

Replace

Quick Reference

.Any character
\dDigit [0-9]
\wWord char
\sWhitespace
^Start of line
$End of line
*0 or more
+1 or more
?0 or 1
{n}Exactly n
[abc]Any of a,b,c
()Group