Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?=^[\x21-\x7e]{8,20}$)(?=[^0-9]*[0-9])(?=[^a-z]*[a-z])(?=[^A-Z]*[A-Z]).*
/
Unit Tests
uuvvvyuv1G
→ regex does match
1Guhuuuyuyuby
→ regex does match
Y%*&^$^%^(^(GVGVYUKVYTUHBKBUFygyygyg
→ regex does not match
ebfuiuberiueu23423HHII
→ regex does not match
1abcderfggdgf
→ regex does not match