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
Password Valiadtion
Open Workspace
PCRE2 (PHP)
Match
Created 2022-01-10 14:25
0
Regular Expression
/
^
(?=
.
*
\d
)(?=
.
*
[
a
-
zA
-
Z
]
)(?=
.
*
\W
)
.
{8,12}
$
/
gm
Description
This is password validation regular expression in javascript
Submitted by
Anonymous