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
校验密码强度
Open Workspace
JavaScript
Match
Created 2017-06-22 04:05
0
Regular Expression
/
^
(?=
.
*
\d
)(?=
.
*
[
a
-
z
]
)(?=
.
*
[
A
-
Z
]
)
.
{8,10}
$
/
g
Description
密码的强度必须是包含大小写字母和数字的组合,不能使用特殊字符,长度在8-10之间。
Submitted by
Anonymous