Regex Tester

Test and debug regular expressions with live highlighting

/\d+/g
→
abc 123 def 456
1Enter pattern→2Paste test text→3See matches highlighted

Now with replace mode, regex explainer, and color-coded groups.

//g
Flags:

Match Details

Enter a pattern to start matching