4 ms·
I used to do complex email validations (like regexes etc), but have avoided using them for a long time. Currently, my email validations are 3 steps: 1. Using t
by acmecorps 6y ago
I used to do complex email validations (like regexes etc), but have avoided using them for a long time. Currently, my email validations are 3 steps:
1. Using the <input type="email">
2. Checking if "@" exists
3. Sending the actual email (which practically speaking - is the actual validation that I needed)
Covers 99.99% of all cases I say.
- doggodaddo78 5y agoYeap. \A.+@.+\z and try it.