passwords - Regex expression for at least one upper, lower and digit -


can me regex expession check following criteria?

the criteria one(or more) cap letter, 1 (or more)lower letter , 1 (or more) digit. must more 6 characters

what have

^(?=.*[a-z])(?=.*[a-z])(?=.*\d).+.{6,}$ 

am on right track? keep in mind want allow symbols too

thanks

yes on right track..

just remove .+ regex,it redundant , doesn't add regex

if want match more 6 characters should use .{7,}


Comments