Regular Expressions 101

Community Patterns

Community Library Entry

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 - 3 years ago