Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
sariel84474y@electrineer not what my bosses think. If you can't do it, we'll hire someone else that can.
-
@magicMirror
Best way to validate email addresses:
Test whether it contains "@".
Need to really verify that address?
Send an actual email to it - make the user click a unique link contained in the email body.
Don't try to create a complete regex for an email address! Don't copy "correct" regexes for email address validation - they are _all_ wrong in one way or the other (sometimes as subtle as only denying top-level domains - you will not find that with casual testing)!
Related Rants
>> Times I've used REGEX == Times I've had to learn REGEX
>> true
rant
joke
daily byte