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
8 Characters
Open Workspace
PCRE2 (PHP)
Match
Created 2021-12-02 16:34
0
Regular Expression
/
^
(?=
.
*
[
A
-
Za
-
z
]
)(?=
.
*
\d
)
[
A
-
Za
-
z
\d
]
{8,}
$
/
gm
Description
Must Contain 8 Characters
Submitted by
Anonymous