Regex Tester
Test JavaScript regular expressions with live match highlighting and groups.
Loading tool…
How to use the Regex Tester
- 1
Enter a pattern and flags.
- 2
Paste a test string.
- 3
See matches and capture groups highlighted live.
Frequently asked questions
Which regex flavour is used?
JavaScript (ECMAScript) regular expressions, the same engine your browser uses.