Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
([a-z]*)(?=.*[0-9])(?=.*[A-Z])(?=.*[\W])(?!.*[\s])(^.{8,16})
/
gm

Description

Minimum one capital, one special, one digit, no whitespace

Submitted by anonymous - 6 years ago