3 ms·
Input validation for email addresses is usually an anti-feature. foo+yoursite@gmail.com is a perfectly valid email but almost all email validation will reject i
by sillysaurus3 9y ago
Input validation for email addresses is usually an anti-feature. foo+yoursite@gmail.com is a perfectly valid email but almost all email validation will reject it.
Maybe don't accept an empty email address though.
- jasonlfunk 9y agoI typically call `.+@.+\..+` good enough.