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).
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).