On Sat, May 12, 2012 at 9:54 AM, coder <[email protected]> wrote: > > <input name="email" id="email" placeholder="Enter your Email > Address" > pattern="^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$" > required type="email">
Note that's not a safe regex to validate email addresses. It will exclude legitimate addresses like [email protected]. I suggest just keeping it simple and checking for ^.*@.*$. See also discussion at: http://www.regular-expressions.info/email.html -- Benjamin Hawkes-Lewis ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
