4 ms·
You shouldn’t use regex for email validation.
by pushpop 8y ago
You shouldn’t use regex for email validation.
- chris140957 8y agoThe backend (Django) also verifies that the email address is valid. The frontend validation is just added as a an extra convenience
- pushpop 8y agoThe problem is the standard for what is a valid email address is so varied with enough edge cases that what you might consider a “convenience” is actually breaking the site for other people. There are quite a number of articles written about this topic, I’d recommend researching it.