Regular Expressions 101

Community Patterns

Password Complexity

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[ !"#$%£&'()*+,-.\/:;<=>?@[\\\]^_`{|}~])[A-Za-z\d !"#$£%&'()*+,-.\/:;<=>?@[\\\]^_`{|}~]{8,32}$
/
gm

Description

Password Complexity 8-32 Characters, AlphaNumeric with OWASP Special Characters

Submitted by shnwhtn - 2 years ago