RegEx Tester & Debugger

Build, test, and debug regular expressions with real-time feedback and highlighting.

Flags:
//g
Test String
Match Preview0 matches
Enter test string to see matches...

Cheat Sheet

.Any character except newline
\dAny digit (0-9)
\wAny word character (a-z, A-Z, 0-9, _)
\sAny whitespace character
*0 or more of the preceding
+1 or more of the preceding
?0 or 1 of the preceding
^Start of string
$End of string
[abc]Any character in the brackets

RegEx Tester FAQ