Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[^\w\d\s:])([^\s]){9,}$
/
gm

Description

Your password should include at least 8 characters, uppercase and lowercase letters, numbers and at least one special character.

Submitted by Paveldev - 3 years ago