Skip to content

Instantly share code, notes, and snippets.

@cjaoude
Last active April 4, 2024 18:17
Show Gist options
  • Save cjaoude/fd9910626629b53c4d25 to your computer and use it in GitHub Desktop.
Save cjaoude/fd9910626629b53c4d25 to your computer and use it in GitHub Desktop.
Test list of Valid and Invalid Email addresses
Use: for testing against email regex
ref: http://codefool.tumblr.com/post/15288874550/list-of-valid-and-invalid-email-addresses
List of Valid Email Addresses
email@example.com
firstname.lastname@example.com
email@subdomain.example.com
firstname+lastname@example.com
email@123.123.123.123
email@[123.123.123.123]
"email"@example.com
1234567890@example.com
email@example-one.com
_______@example.com
email@example.name
email@example.museum
email@example.co.jp
firstname-lastname@example.com
List of Strange Valid Email Addresses
much.”more\ unusual”@example.com
very.unusual.”@”.unusual.com@example.com
very.”(),:;<>[]”.VERY.”very@\\ "very”.unusual@strange.example.com
List of Invalid Email Addresses
plainaddress
#@%^%#$@#$@#.com
@example.com
Joe Smith <email@example.com>
email.example.com
email@example@example.com
.email@example.com
email.@example.com
email..email@example.com
あいうえお@example.com
email@example.com (Joe Smith)
email@example
email@-example.com
email@example.web
email@111.222.333.44444
email@example..com
Abc..123@example.com
List of Strange Invalid Email Addresses
”(),:;<>[\]@example.com
just”not”right@example.com
this\ is"really"not\allowed@example.com
@cizordj
Copy link

cizordj commented Nov 23, 2023

This is why English can be confusing sometimes, specially for foreigners.

@igokom
Copy link

igokom commented Nov 29, 2023

really ok

@brycehazen
Copy link

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment