Regular Expressions 101

Community Patterns

Password with rare chars

0

Regular Expression
PCRE (PHP <7.3)

/
(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=.\\-_* \(\)\[\]\{\}\¡\!\?\¿\"\'\|])([a-zA-Z0-9@#$%^&+=*.\\-_ \(\)\[\]\{\}\¡\!\?\¿\"\'\|]){3,}$
/
g

Description

no description available

Submitted by Luis Arias - 7 years ago