Email regex tester
Email validation regexes are famous for passing the happy path and failing alice.smith+tag@sub.example.co.uk. Test yours against the classics: paste a pattern, get per-line verdicts with the matched text and capture groups shown — plus one-click presets for the three patterns everyone argues about.
Presets:
Runs entirely in your browser — nothing is uploaded.
The three presets, honestly labelled
- HTML5 (WHATWG) — what browsers actually validate against. Slightly permissive, battle-tested, the sane default for client-side UX.
- Pragmatic — one line, roughly "something @ something . tld". Use it when the confirmation email is your real validation and the regex is just typo triage.
- RFC 5322 — the full grammar. It accepts everything the standard allows, including quoted local parts nobody has ever owned. Watch it match
quoted"weird"@example.comwhile your "stricter" pattern embarrassingly rejects valid addresses.