Email validation should just be sending a confirmation email. Otherwise you end up with a super large regex and having to update it every time there is a new TLD.
> Last Updated Wed Mar 16 07:07:01 2022 UTC
Have fun keeping up-to-date with it.
But also, you can get the tld and match it against the list, then send an email.
Actually, even trying to use regex to see if a email is valid is a fool's errand, but if you have to, the rule above is the only thing you could do. You really need to send a email to address and ask the user to input something from the email in order to actually validate it.
@.