Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Disorted Email Addresses
Open Workspace
PCRE (Legacy)
Substitution
Created 2013-01-16 14:11
53
Regular Expression
/
^
(?'Username'
[
-
\w\d
\.
]
+?
)(?:
\s
+
at
\s
+
|
\s
*
@
\s
*
|
\s
*
(?:
[
\[\]
@
]
){3}
\s
*
)(?'Domain'
[
-
\w\d
\.
]
*?
)
\s
*
(?:
dot
|
\.
|
(?:
[
\[\]
dot
\.
]
){3,5}
)
\s
*
(?'TLD'
\w
+
)
$
/
gm
Description
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick