Regex Tester
Test and debug regular expressions with live match highlighting.
//
About the Regex Tester
Regular expressions are powerful but notoriously hard to write correctly. Our regex tester highlights matches in real time so you can iterate quickly without any copy-paste back and forth.
How to use the Regex Tester
- Enter your regex pattern.
- Set flags (g, i, m) as needed.
- Paste your test string matches highlight automatically.
Frequently Asked Questions
- Which regex flavour does it support?
- JavaScript regex (the built-in RegExp object), which is ECMA-262 compliant.
Related guides
About this tool
All processing happens entirely in your browser. No data is uploaded to any server.
Developer Tools