Developer Tool
Regex Tester
Test and debug regular expressions free online. Real-time matching. No signup.
//
g — Global — find all matchesi — Case insensitivem — Multilines — Dot matches newline
2 matches
Send to john@example.com or jane.doe@company.org or bad@email
Match List
#1john@example.compos 8
#2jane.doe@company.orgpos 28
Quick Reference
Character Classes
. Any char
\d Digit
\w Word char
\s Whitespace
\D Non-digit
\W Non-word
Quantifiers
* 0 or more
+ 1 or more
? 0 or 1
{n} Exactly n
{n,} n or more
{n,m} n to m
Anchors & Boundaries
^ Start of line
$ End of line
\b Word boundary
\B Non-boundary
(?=...) Lookahead
(?<=...) Lookbehind
Groups
(...) Capture group
(?:...) Non-capture
[...] Character set
[^...] Negated set
a|b Alternation
\1 Backreference
⚡
Real-time
Instant matching
🔄
Replace Mode
Test substitutions
📚
10 Presets
Common patterns
🆓
Free
No signup needed