3 ms·
In JS the regex is built into the browser: you can leverage HTML5 .checkValidity() on any type="email" input. https://developer.mozilla.org/en-US/docs/Web/Guid
by nailer 12y ago
In JS the regex is built into the browser: you can leverage HTML5 .checkValidity() on any type="email" input.
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms_in_HTML https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Form...
Note this is super liberal, so user@domainwithnodots (which is RFC valid, but probably also a user error) is still considered valid.