E
engwar1
Not sure where to ask this. Please suggest another newsgroup if this
isn't the best place for this question.
I'm new to both vb.net and regex. I need a regular expression that will
validate what people are entering as their new password.
Must be between 6 and 10 characters
Must be alphanumeric only
Can not be the word "password" in any case ie "pAsSworD" should also be
denied.
the following works just fine for catching the lenght and the
alphanumeric requirement. My question really is how to match only if
"password" isn't their password.
"^([a-zA-Z0-9]{6,10})$"
Seems like it'd be easy but, like I said I'm new to regex.
Thanks!
isn't the best place for this question.
I'm new to both vb.net and regex. I need a regular expression that will
validate what people are entering as their new password.
Must be between 6 and 10 characters
Must be alphanumeric only
Can not be the word "password" in any case ie "pAsSworD" should also be
denied.
the following works just fine for catching the lenght and the
alphanumeric requirement. My question really is how to match only if
"password" isn't their password.
"^([a-zA-Z0-9]{6,10})$"
Seems like it'd be easy but, like I said I'm new to regex.
Thanks!