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
@thurst28
Copy link

thurst28 commented Apr 4, 2023

ok

@kinduff
Copy link

kinduff commented Apr 5, 2023

ok

@Szarlej4
Copy link

Szarlej4 commented May 4, 2023

ok

@carlosmoran
Copy link

ok

@RubenMateus
Copy link

ok

@jamesmacfie
Copy link

ok

@qugu2427
Copy link

ok

@jackmahoney
Copy link

Don't forget names and utf8:

=?utf-8?B?R0FSQU5UIEJDIERNQ0M=?= <2342431@mycompany.com>

@WilliamCJacobsen
Copy link

ok

@FilipFeldberg
Copy link

ok

@Andorr
Copy link

Andorr commented Sep 14, 2023

ok

@SveinungOverland
Copy link

ok

@vdsingh
Copy link

vdsingh commented Oct 22, 2023

ok

@cizordj
Copy link

cizordj commented Oct 31, 2023

@frattaro If this is a 'humble' opinion, I don't want to know the 'supreme' opinion

@RobKenis
Copy link

RobKenis commented Nov 7, 2023

@cizordj It was never mentioned that the opinion was humble. I think it was meant to be supreme from the beginning.

@cizordj
Copy link

cizordj commented Nov 7, 2023

@RobKenis he literally said IMO 🐱

@micahbf
Copy link

micahbf commented Nov 7, 2023

@cizordj And what does IMO stand for

@KthProg
Copy link

KthProg commented Nov 7, 2023

@cizordj And what does IMO stand for

"In My Office"

@OmarJalil
Copy link

OmarJalil commented Nov 7, 2023

@cizordj And what does IMO stand for

"In My Office"

"Iguanas Making Omelets"

@kinduff
Copy link

kinduff commented Nov 7, 2023

@cizordj And what does IMO stand for

"In My Office"

"Iguanas Making Omelets"

"Invisible Martian Orchestras"

@frattaro
Copy link

frattaro commented Nov 7, 2023

ok

I added "IMO" - "In my opinion" - lastly after writing that, because I finished and thought "you know, it wouldn't be that much more work to measure the byte lengths of the strings... and I'd bet you $5 that regex is missing some unicode ranges. I should probably package this up. I'm not gonna do that. You know what? I'll just say it's an opinion because it's good enough and I'm done with it."

@micahbf
Copy link

micahbf commented Nov 7, 2023

ok

@kinduff
Copy link

kinduff commented Nov 7, 2023

@frattaro tldr

@frattaro
Copy link

frattaro commented Nov 7, 2023

@isthisstackoverflow
Copy link

@cizordj And what does IMO stand for

"In My Office"

"Iguanas Making Omelets"

"Invisible Martian Orchestras"

Interpolate my onions.

@jcf-dev
Copy link

jcf-dev commented Nov 7, 2023

ok

I added "IMO" - "In my opinion" - lastly after writing that, because I finished and thought "you know, it wouldn't be that much more work to measure the byte lengths of the strings... and I'd bet you $5 that regex is missing some unicode ranges. I should probably package this up. I'm not gonna do that. You know what? I'll just say it's an opinion because it's good enough and I'm done with it."

ok

@johnd3v
Copy link

johnd3v commented Nov 7, 2023

@cizordj And what does IMO stand for

"In My Office"

"Iguanas Making Omelets"

"Invisible Martian Orchestras"

Interpolate my onions.

Iced Mocha Overload

@jcf-dev
Copy link

jcf-dev commented Nov 7, 2023

@cizordj And what does IMO stand for

Intellectuals Meeting Ogres

@chiperific
Copy link

This answers all the regex questions about email: https://youtu.be/mrGfahzt-4Q?feature=shared&t=992

@KthProg
Copy link

KthProg commented Nov 20, 2023

This answers all the regex questions about email: https://youtu.be/mrGfahzt-4Q?feature=shared&t=992

We don't want answers about email, we want answers about what IMO stands for

@jcf-dev
Copy link

jcf-dev commented Nov 20, 2023

This answers all the regex questions about email: https://youtu.be/mrGfahzt-4Q?feature=shared&t=992

We don't want answers about email, we want answers about what IMO stands for

It's Means Ok

@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