Regex Tester
Test and debug regular expressions live in your browser
//g
2 matches
Preview
Contact: alice@example.com or bob@test.org
About Regex Tester
Test and debug regular expressions with live match highlighting. Toggle flags and see every match update as you type.
How to use the regex tester
- Enter your regular expression pattern.
- Toggle flags like g, i, m and s.
- Type or paste a test string.
- Matches are highlighted instantly.
Frequently asked questions
Which regex flavour is used?
It uses JavaScript's native RegExp engine, the same one that runs in browsers and Node.js.
Are my files uploaded to a server?
No. Everything runs locally in your browser using JavaScript, so your files and text never leave your device.
Is this tool free?
Yes, it is completely free with no signup, no watermarks and no limits.