Regular Expressions 101

Community Patterns

String with 1 lowercase 1 uppercase & 1 digit


Regular Expression
ECMAScript (JavaScript)



Regular expression for a validating a string with following rules:

at least one lowercase letter at least one upper case letter at least one digit length between 6 and 14 ^(?=.\d)(?=.[a-z])(?=.*[A-Z]).{6,14}$

Submitted by Rasmita Dash - 9 years ago