Skip to content

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

EmailRegEx

A project for doing a RFC compliant registration check of an email address.

The pattern to use is this one:

public static string ComplexEmailPattern4 = @"^[\w!#$%&'*+\-/=?\^_`{|}~]+(\.[\w!#$%&'*+\-/=?\^_`{|}~]+)*" // local-part
+ "@"
+ @"((([\w]+([-\w]*[\w]+)*\.)+[a-zA-Z]+)|" // domain
+ @"((([01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]).){3}[01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]))\z"; // or IP Address

And now because of the new changes to TLDs, a separate Tld validator is a good idea. So I added one.

About

A project for doing a RFC compliant registration check of an email address.

Resources

Stars

16 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages