Validating email with javascript

The project can be found on Git Hub where you can also find our issue tracker.There is also a Travis project used for testing, a Coveralls project used to code coverage as well as the annotated source.

Having a-z and A-Z means that both lowercase and uppercase letters are allowed.An email address must contain at least a ‘@’ sign and a dot (.).Also, the ‘@’ must not be the first character of the email address, and the last dot must at least be one character after the ‘@’ sign. Last month I wrote about regular expressions in Java, today I’ll show you how to use regular expression in Java Script to validate email address.Here is the code to validate email address in Java Script using regular expression.

Leave a Reply