Regex Tester
Test JavaScript regular expressions with live match highlighting.
Loading tool…
Runs locally in your browser. Your files are never uploaded.
About this tool
Write a regular expression and see matches, capture groups and named groups highlighted live, and test replacements. Includes a quick cheat sheet.
How to use it
- Type a pattern and flags.
- Paste test text.
- Inspect matches and groups.