Regex Tester
Test a regular expression against sample text and see matches highlighted live — evaluated entirely in your browser.
This runs entirely in your browser. Your text is never sent to a server — check your browser's network tab if you don't believe us.
How to use this tool
Regex Tester runs a regular expression against sample text and highlights every match live.
- Enter your pattern and any flags (e.g. g, i).
- Paste the text you want to test it against.
- Matches highlight directly in the text as you type, with a running match count.