Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^[a-zA-Z_-]([\w.-]?[a-zA-Z0-9])*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?){2,})+$
/
gm
Input 1
New
something@something.com something@something.name something@something.name.com something@some-thing.startups someone@localhost.localdomain someone@somewhere.com. someone@do-ma-in.com simple@example.com very.common@example.com other.email-with-dash@example.com fully-qualified-domain@example.com x@example.com example-indeed@strange-example.com example@s.solutions a@a.aa somebody@example somebody.example .wooly@example.com wo..oly@example.com a@p.com a@a.a a@p.com a.@p.com test()@somebody.example test..x@somebody.example test..@somebody.example someone@127.0.0.1 invalid:email@example.com @somewhere.com example.com @@example.com a space@example.com something@ex..ample.com a@c ""testlah""@example.com someone@somewhere.com@ someone@somewhere.com@somewhere.com someone@somewhere_com someone@some:where.com . F/s/f/a@feo+re.com some+long+email+address@some+host-weird-/looking.com a @p.com ddjk-s-jk@asl-.com someone@do-.com somebody@-p.com somebody@-.com Abc.example.com A@b@c@example.com a"b(c)d