Regex Tester
Test JavaScript regular expressions live, with highlighted matches and capture groups.
How to use
- Type a pattern and flags (g, i, m, s, u).
- Matches highlight as you type; capture groups are listed below.
FAQ
Which regex flavour?
JavaScript (ECMAScript). Most syntax also works in Python and PHP.