Regex Tester
Test regular expressions with live highlighting.
About Regex Tester
Write a regular expression and a test string and see every match highlighted live, with a match count and error reporting. Add flags like g, i and m for global, case-insensitive and multiline matching.
- 1Enter your pattern and flags.
- 2Paste a test string.
- 3See matches highlighted instantly.
FAQ
Which regex flavor is used?
JavaScript's built-in RegExp engine, the same one browsers and Node.js use.