smacca
asked on
Simple password letter/number regular expression.
Hi,
I am looking for help as to why this reg. ex does not behave as expected:
ValidationExpression="[a-z A-Z]+\w*\d +\w*"
We would like a regex that allows a password like "9sj4n3xa65aa" to pass ok!
Would love your help.
Cheers.
I am looking for help as to why this reg. ex does not behave as expected:
ValidationExpression="[a-z
We would like a regex that allows a password like "9sj4n3xa65aa" to pass ok!
Would love your help.
Cheers.
ASKER
thanks for getting back to us.
we just want a expression for numbers and letters .
we already have a regex for length.
we just want a expression for numbers and letters .
we already have a regex for length.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can check the regex online http://mem9.net/dev/regextester.aspx
sumix's solution would fit your requirements properly.
what requirements do you have exactly - ie must contain numbers and letters? / be a certain length / ?