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
username
Open Workspace
PCRE2 (PHP)
Match
Created 2021-02-17 08:51
0
Regular Expression
/
^
(?=
.
{6,20}
$
)(?:
[
a
-
zA
-
Z
\d
]
+
(?:
(?:
\.
|
-
|
_
)
[
a
-
zA
-
Z
\d
]
)*
)+
$
/
gm
Description
No description provided.
Submitted by
Anonymous