How to use the Regex Tester
- Enter the pattern and choose flags.
- Paste your test text.
- Inspect the highlighted matches and groups.
Features
- Live highlighting
- Numbered and named groups
- All JavaScript flags, including d, s, u and v
- Clear syntax errors
Frequently asked questions
Which regex flavour is this?
JavaScript (ECMAScript), as run by your browser. Most syntax matches PCRE, but there are differences, such as no possessive quantifiers.