Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{0,}$
/
gm

Description

at least 1 digit at least 1 lowercase at least 1 uppercase

Submitted by phil-all - 3 years ago