Build a habit of shipping by sharing your daily, incremental progress
See how other makers are growing their business
Members are invited by existing members
Receive outside perspective when you need it
Connect with others through weekly video hangouts
Get access to our members-only perks and discounts
👋 Join WIP to participate
Just use the html validation attributes :)
Are you looking to verify if it's a real email (likely fake?) or to validate that it could be a real email? +1 for HTML5 validation as a simple solution.
This one works fine, if you are thinking about email input: www.npmjs.com/package/validat…
stackoverflow.com/questions/4…
I think there are quadrillion valid email patterns, so using a library is 🙌 . One other very solid way to validate an email is sending an actual email to that address. Let the user click a link and then flag the mail as verified. I usually stick to the HTML attribute or check for an @ (if anything).