Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-10-18 08:21
Flavor·PCRE2 (PHP)

/
(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z !"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`{|}~]{8,255}
/
Open regex in editor

Description

Password should contain at least 8 symbols, one lower case, one upper case and one number.

https://owasp.org/www-community/password-special-characters

Submitted by Tahiaji