RegularExpression Validation for password in ASP.NET
- From: "bienwell" <bienwell@xxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 15:24:59 -0400
Hi all,
Can any one help me to write a regular expression to validate the password
entered on the text field in ASP.NET. The rules for the password are:
1- There must be at least one number in the password.
2- There must be upper and lower case letters in the password.
3- Password must begin with an alphabetic character.
4- Password cannot contain illegal characters, such as =, <, >, ;, :, '
, " or comma (equal sign, greater sign, less than sign, semicolon, colon,
single quote, double quotes, comma).
5- Password must be between 8 and 25 characters.
I'm not good at writing the expression. Please help me out.
Thanks in advance.
.
- Follow-Ups:
- Re: RegularExpression Validation for password in ASP.NET
- From: wisccal
- Re: RegularExpression Validation for password in ASP.NET
- From: RhythmAddict
- Re: RegularExpression Validation for password in ASP.NET
- Prev by Date: RE: How to raise a server-side event asynchronously?
- Next by Date: PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
- Previous by thread: Sale Price Gucci 102 G-Mini Watches Replica - Gucci Watches Minimum Price Wholesale
- Next by thread: Re: RegularExpression Validation for password in ASP.NET
- Index(es):
Relevant Pages
|