Validating an email address in javascript

I would like to have feedback from my blog readers.

Please post your feedback, question, or comments about this article.

To validate email address on client side, we can use java script with regular expression.

We have a pre-made script that you simply paste in to your HTML.

Once you’ve inserted our script onto your site, the real-time verification will be active on your website. Within minutes of updating your source code your email list will be more accurate than ever, giving your email marketing campaign the best chance of success.

In this page we have discussed how to validate an email using Java Script : An email is a string (a subset of ASCII characters) separated into two parts by @ symbol. ~ characters are legal in the local part of an e-mail address but in the above regular expression those characters are filtered out. It begins with at least one or more word characters including the underscore, equivalent to [A-Za-z0-9_].

a "personal_info" and a domain, that is [email protected] The length of the personal_info part may be up to 64 characters long and domain name may be up to 253 characters. You can modify or rewrite the said regular expression.

Leave a Reply