|
-
June 23rd, 2008, 03:55 PM
#1
ASP.NET validation control
Hey I need a regular expression for a validation control on my password field:
Requirements
Must contain 1 digit
Entire password must be 6-10 digits
I have tried this, this ensures 1 digit, but how do I incorporate the length?
^(\w*(?=\w*\d)\w*)$
Any help greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|