top | item 14368387

(no title)

hfsktr | 8 years ago

.+@.+(\..+)?

should satisfy you both right? I use the original or a form of usually when I had to check emails.

discuss

order

dasil003|8 years ago

That's identical to just doing .+@.+

simcop2387|8 years ago

Fully qualified domains actually end in a . If you're allowing sally@google then you must also allow sally@google. To be valid

eridius|8 years ago

No you don't. Email addresses explicitly require any periods in the domain to have at least one (non-period) character after the period. From RFC 5322, the relevant grammar production for the domain looks like

  dot-atom-text   =   1*atext *("." 1*atext)
(where atext is letters, digits, or a set of specific punctuation characters that doesn't include periods).