Regular Expressions 101

Library entries

password regex to match ASP.Net identity PasswordValidator

Vote

0

Regular Expression
pcre

/
^(?#at least one capital letter)(?=.*?[A-Z])(?#at leaste one lower case letter)(?=(.*[a-z]))(?#at leaste one number)(?=(.*[\d]))(?#at leaste one non letter or number)(?=(.*[^a-zA-Z0-9])).{6,}$
/
g

Description

Loading markdown...
Submitted by P. Zantinge - 4 years ago