Home All Groups Group Topic Archive Search About
Author
19 May 2006 2:56 AM
Ron
Hi,
I need a regular expression for a login control i am using.
It needs to validate a minimum password length of 8.
Must consist of 1 upper case character and 1 numeric character and no
non-alphanumeric characters.

Can some one please show me an example.
I tried the following but have had no luck.

ValidationExpression="\[A-Z]{1,}\[a-z]{6,}\d{1,}"
ValidationExpression="\[A-Z]{1,}\w{6,}\d{1,}"


Thanks,
Ron

Author
19 May 2006 12:12 PM
Altaf Al-Amin Najwani
http://regexlib.com/REDetails.aspx?regexp_id=31

You can have loads of RE from this link.

Pls provide feedback.

Show quoteHide quote
"Ron" wrote:

> Hi,
> I need a regular expression for a login control i am using.
> It needs to validate a minimum password length of 8.
> Must consist of 1 upper case character and 1 numeric character and no
> non-alphanumeric characters.
>
> Can some one please show me an example.
> I tried the following but have had no luck.
>
> ValidationExpression="\[A-Z]{1,}\[a-z]{6,}\d{1,}"
> ValidationExpression="\[A-Z]{1,}\w{6,}\d{1,}"
>
>
> Thanks,
> Ron

Bookmark and Share