Regex Tester
FeaturedBuild and test JavaScript regular expressions live with match counts and results.
2 matches
1. hello@example.com 2. bob@test.org
About the Regex Tester
Test JavaScript regular expressions against sample text with real-time match highlighting, flags, and capture-group inspection.
How to use the Regex Tester
- 1Enter your regular expression and flags.
- 2Paste sample text.
- 3Read the highlighted matches and inspect capture groups.
Why people use it
- Prototype a validation pattern before shipping it.
- Debug why a match is failing on live data.
- Learn regex by experimenting safely.
Frequently asked questions
Which regex flavour?
The JavaScript flavour — the same as `new RegExp(...)` in the browser. PCRE-only features (some lookbehind quirks, named-group syntax) may differ.
Related tools you might like
Featured
Password Generator
Strong, cryptographically-random passwords.
UtilitiesOpen
Featured
QR Code Generator
Create downloadable QR codes for any text or URL.
UtilitiesOpen
Featured
Business QR Code Generator
Free, branded QR codes for any business.
UtilitiesOpen
Popular
UUID Generator
Generate v4 UUIDs in bulk.
UtilitiesOpen
Popular
Hash Generator
SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
UtilitiesOpen
Random Number Generator
Pick random numbers in a range, with unique option.
UtilitiesOpen