Regex Tester
Enter a regex pattern and test string. All matches are highlighted in real-time. Supports flags (g, i, m, s) and shows match groups.
//g
How to use Regex Tester
Test and debug regular expressions with live highlighting.
1
Enter your regular expression pattern in the top field.
2
Set the flags you need (g, i, m, s) using the toggle buttons.
3
Type your test string below. All matches highlight in real time and match groups are listed.