Regular Expressions 101

Community Patterns

Password validation

1

Regular Expression
ECMAScript (JavaScript)

/
^((?=\S*?[A-Z])(?=\S*?[a-z])(?=\S*?[0-9])(?=\S*?(?:\W|_)).{8,})$
/
g

Description

Loading markdown...
Submitted by anonymous - 9 months ago