Regular Expressions 101

Community Patterns

pW

0

Regular Expression
PCRE (PHP <7.3)

/
^(?=.{8,20}$)(?=[^a-z]*[a-z])(?=[^A-Z]*[A-Z])(?=[^0-9]*[0-9])(?=[^?!:;]*[?!:;])(?:([\w\d*?!:;])(?!\1))+$
/
gm

Description

no description available

Submitted by anonymous - 3 years ago