How to use Regex Tester
- 1Type a pattern and flags.
- 2Paste test text.
- 3Inspect matches and groups.
What it does
- Live highlighting
- Groups & named groups
- Replace preview
- Explain & cheat sheet
Test JavaScript regular expressions with live match highlighting, capture groups, replace preview, a plain-English explanation and a cheat sheet.