RegularExpression Validation for password in ASP.NET



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.


.



Relevant Pages

  • Re: RegularExpression Validation for password in ASP.NET
    ... Can any one help me to write a regular expression to validate the password ... 3- Password must begin with an alphabetic character. ... single quote, double quotes, comma). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RegularExpression Validation for password in ASP.NET
    ... Can any one help me to write a regular expression to validate the ... 3- Password must begin with an alphabetic character. ... single quote, double quotes, comma). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RegularExpression Validation for password in ASP.NET
    ... Can any one help me to write a regular expression to validate the password ... single quote, double quotes, comma). ... 5- Password must be between 8 and 25 characters. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RegularExpression Validation for password in ASP.NET
    ... Can any one help me to write a regular expression to validate the ... single quote, double quotes, comma). ... 5- Password must be between 8 and 25 characters. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: validate email and checks blank as well
    ... going to have more regular expression don't want to use both(require and ... I have all the controls formattted via HTML so they show on the page nice ... I've other controls which i use requirevalidator in the same column, ... textbox to validate and your done. ...
    (microsoft.public.dotnet.framework.aspnet)