Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-01-13 06:25
Flavor·PCRE (Legacy)

/
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{5,10}$
/
Open regex in editor

Description

To check a password between 5 to 10 characters which contain at least one lowercase letter, one uppercase letter, one numeric digit, and one special character.

Submitted by RathnaKumar