Re:Ruby's Email Address Regexp
by runarberg on Tuesday January 04, 2022 @10:03PM
(#29804502)
If you are writing a webpage that accepts email addresses, then please just use <input type="email"> and check for:
This will not only give you email validation for free, but also gives users with software keyboards (e.g. on phones) a contextual keyboard.
[ Parent
| on HN ]