04 / Testing / regex-tester
Regex Tester
Test regular expressions with groups, highlighting and replace.
ReadyLocal processing
04 · WorkspaceInput → Process → Output · in-browser
How to use
- 01Type your regular expression in the pattern field.
- 02Toggle flags such as g, i or m.
- 03Paste sample text to test against.
- 04Review highlighted matches, indexes and capture groups live.
What is this tool?
A live JavaScript regular-expression tester. Matches are highlighted inside your sample text as you type, with per-match indexes and capture groups listed below, and invalid patterns report the exact engine error.
Common use cases
- Building validation rules for forms
- Extracting fields from log lines
- Writing scraping or parsing patterns
- Debugging a regex that matches too much
FAQ
Which regex flavour is used?
The JavaScript (ECMAScript) engine built into your browser.
Are capture groups shown?
Yes, each match lists its groups and index.
Is there a match limit?
The first 500 matches are displayed for performance.
Is my text uploaded?
No, matching runs locally.