Regex Tester
Test regular expressions against sample text and see every match highlighted.
Loading tool...
How it works
The Regex Tester runs your regular expression against a test string using JavaScript's native regex engine, listing every match with its position and any captured groups — ideal for debugging patterns before using them in code.
Frequently asked questions
Which regex flavor does this use?
This uses JavaScript's native RegExp engine, the same one used in Node.js and browsers.