Validating email address in php

This PHP script uses regular expressions to check if given input is a syntactically valid email address.

So, my position is the same: main point if you want to verify email address - just send activation [email protected], well, for example, there's an concrete version of PHP on your server and you can't update it to newest. Would you like to answer one of these unanswered questions instead?On this page we will show a few examples of how to validate e-mails, website addresses (URLs) and some other special cases of input data.» Validate e-mail address There is no way to be 100% sure an e-mail address is actually working unless you send an e-mail there.I would go as far as to say that that regex you have made is useless.There are three rfc's regarding emailaddresses and writing a regex to catch wrong emailadresses and and the same time don't have false positives is something no mortal can do.