Developer tools
Regex Tester
Test JavaScript regular expressions against sample text and inspect matches.
- Mobile Friendly
- Accessibility Tested
- SEO Optimized
- Fast Loading
- Responsive
Version 1.0.0 · Last reviewed
Regex Tester
Test JavaScript RegExp patterns against sample text.
Flags
3 matches
- @0 "Hello"
- @27 "Regex"
- @33 "Tester"
How it worksShow guideHide guide
Introduction
Try patterns with live match highlighting counts. Runs as a standard JavaScript RegExp in your browser.
Step-by-step
- Enter a pattern and optional flags
- Paste the text to search
- Review matches and capture groups
Worked example
Pattern \d+ with flag g finds two matches: 42 and 99.
Use cases
- Debug email or phone validation patterns
- Extract groups from logs
- Learn regex flags (g, i, m, s, u)
Frequently asked questions
Which regex flavor is this?
JavaScript (ECMAScript) RegExp — the same engine your browser uses.
Related tools
Popular tools
Was this helpful?
Your feedback stays on this device only — it is not sent to the mySutra team yet.