Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on HTML5 Features you need to know. Parent comment
^[^ @]+@[^ @]+$
That said, HTML5 has something even better if the input is expected to be an email address: input@type=email
See http://www.w3.org/TR/html-markup/input.email.html for more details.
There are no comments on this comment yet.
^[^ @]+@[^ @]+$
That said, HTML5 has something even better if the input is expected to be an email address: input@type=email
See http://www.w3.org/TR/html-markup/input.email.html for more details.