by allegory · 12y ago · 0 comments
^.+@.+\..+$
Works wonders. I think when testing the addresses on a sign up form, we got only 0.5% that we couldn't relay too which was a pretty good hit rate. /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
It's worked for me when I needed to use it.