Regular Expressions 101

Community Patterns

1...567

Community Library Entry

16

Regular Expression
ECMAScript (JavaScript)

/
^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=.\-_*])([a-zA-Z0-9@#$%^&+=*.\-_]){3,}$
/

Description

Safe Password that allow only with a number, a lowercase, a uppercase, and a special character

Submitted by davidlondono - 10 years ago