Vinod Vijay wrote:My email address validation written in regexp is working fine when it comes to .com. However client side validation fails when it comes to .asia. For instance, the email address as test@abc.asia fails even though it is validate email address in my application whereas test@abc.com gets passed.
This one claims to validate most e-mail addresses, and the site is a pretty good one for all things regex.
You could also look at the RFC 5322 standard, which contains a detailed description of a valid address (you can find a link to it
here, along with a regex that claims to be "official"); but as I recall the regex that follows it completely is an absolute monster. The latter link also includes a version for Javascript - though why it would be any different from the standard one I'm not quite sure.
HIH
Winston