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
PHP
Open Workspace
PCRE (Legacy)
Substitution
Created 2019-10-27 05:17
0
Regular Expression
/
(?P<username>
[
a
-
zA
-
Z0
-
9.
-
_
]
+
)
@
(?P<domain>
[
a
-
zA
-
Z0
-
9.
-
_
]
+
)
\.
(?P<ltd>
[
a
-
zA
-
Z0
-
9-_
]
+
)
/
gm
Description
https://regex101.com/r/rZ4swo/1
Submitted by
Anonymous