Tool
Regex Tester
Test regular expressions with live match highlighting and capture groups.
Developer Tools
What this tool does
Test regular expressions against sample text with global and case-insensitive flags.
How to use
- Enter a regex pattern.
- Paste test text.
- Review matches and capture groups.
Examples
Email pattern
Input: pattern=[a-z]+@[a-z]+, text=hello@example.com
Output: 1 match at index 0
Simple email-like pattern match.
Common use cases
- Debug regex for validation rules
- Extract groups from log lines
- Test patterns before code deploy
FAQ
Which regex flavor?
JavaScript RegExp syntax as used in browsers and Node.js.
Are capture groups shown?
Yes. Match list shows text, index, and groups.
Is my text uploaded?
No. Testing runs locally in your browser.
Explore related workflows
More related tools
Last reviewed: 2026-05-23