Regular Expressions 101

Community Patterns

Strong password regex

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})
/
gm

Description

Loading markdown...
Submitted by amine - 2 years ago