Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?=(?:.*[A-Z]))(?=(?:.*[a-z]))(?=(?:.*\d))(?=(?:.*[!@#$^&*()\-_=+{};:,.]))([A-Za-z0-9!@#$^&*()\-_=+{};:,.]{8,16})$
/
gmx

Description

password 8-16 with A-Z a-z 0-9 and !@#$ without %<>

Submitted by alfxjx - 3 years ago