I want to generate a regular expression for password check.(ASP.Net)
But javascript is what it really is.
I would like to enforce Minimum 6 alphanumeric characters with minimum 1 numeric(0-9) and 1 character(a-z) or 1 Special Character(. or _)
So far I have been able to generate something so they enter 6 alpha numberic characters, but don't know a way to check presence of 1 numeric and 1 alpha-numeric characted(or special).
"^([A-Za-z0-9\._]){6}$"
Please help.
But javascript is what it really is.
I would like to enforce Minimum 6 alphanumeric characters with minimum 1 numeric(0-9) and 1 character(a-z) or 1 Special Character(. or _)
So far I have been able to generate something so they enter 6 alpha numberic characters, but don't know a way to check presence of 1 numeric and 1 alpha-numeric characted(or special).
"^([A-Za-z0-9\._]){6}$"
Please help.
Comment