carlos-sanchez
11/14/2013 - 4:27 AM

Email validation. HTML5 allows, among other things, to validate emails using a regular expression pattern. Here is a ready to use input fie

Email validation. HTML5 allows, among other things, to validate emails using a regular expression pattern. Here is a ready to use input field with the regexp pattern to validate an email address.

<input type="text" title="email" required pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}" />