RFC 2822 Email Validation

/ Published in: Regular Expression
Save to your folder(s)

There are multiple ways of checking email adresses about their validity. This script is based on RFC 2822.

Please note that based on RFC 2822 [email protected] is considered valid.

The second snippet is the one I prefer, which only accepts Two-Letter-CCs and the specials com/org/net/gov etc.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.