This is the one I use:
[\w-.]+?@([\w-]+?\.)+[\w]{2,}
I've tested it fairly extensively, including a couple of embarassing
incidents where potential customers trying to register emailed me to tell me
that my form wouldn't accept their email address, resulting in the included
regular expression.
I haven't had any emails for a while now to tell me I'm rejecting valid
addresses.
Colin
"Learning SQL Server" <no.mail.com> wrote in message
news:ue*************@TK2MSFTNGP10.phx.gbl...
The email reg exp that ships with the RegularExpressionValidator doesnt
like this email address:
us**@blah.ru
Or any other email domain that contains only 2 letters after the dot.
It *looks* like it should (I notice the qualifier at the end of the
statement for 2 or more letters), but the validator always fires anyway.
Anyone else notice similar behavior or do I just need some sleep?