Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

at least 1 lower-case character at least 1 upper-case character at least 1 number or special character

Submitted by Wemo - 2 years ago