TurantToolsdev</> All tools

Email Validation With Regex: Keep It Simple

A practical pattern tested on six addresses, and why a confirmation link beats a bigger regex.

By the TurantTools Dev team · Updated October 27, 2026 · 3 min read

The "perfect" email regex doesn't exist: the full rules allow quoted local parts, comments and international domains. A simple pattern catches typos; only a confirmation email proves an address works.

A practical pattern

^[^\s@]+@[^\s@]+\.[^\s@]+$
InputResult
[email protected]Accepted
[email protected]Accepted
ana@localhostRejected
ana@@example.comRejected
ana @example.comRejected
ana@exampleRejected

Better than a bigger regex

  • Use <input type="email"> for a built-in browser check and the right mobile keyboard.
  • Don't reject + tags or long new domains like .photography.
  • Send a confirmation link: it's the only real test.
Regex TesterTest a pattern against your examples.

Sources we checked

More articles