Test regular expressions live
Live match highlighting, flags, groups.
No uploads. No accounts. Runs in your browser.
Loading tool...
About this tool
Type a pattern, toggle flags (g, i, m, s), and watch matches highlight live in your test string with a running match count and capture-group breakdown. Errors in the pattern are shown as you type instead of silently matching nothing.
The engine is JavaScript's own RegExp, exactly what runs in Node and the browser, so what matches here matches in your code. Your test data stays on your machine.
How it works
- Paste your input, or drop a text file onto the box.
- The output updates live as you type.
- Copy it to the clipboard, or download it as a file.