[thelist] regex help - password pattern - javascript
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Mon Sep 26 23:48:25 CDT 2005
Why not split our problem and use two reg exps?
One tests
^([\w\d]{2,8})$
if it passes, apply another test:
^.*?[\d].*?[\d].*?$
I've not tested the second one though. There can be a neater simpler
expression for it.
Cheers,
Volkan
2005/9/27, Frank <lists at frankmarion.com>:
> At 05:45 PM 2005-09-26, you wrote:
> >- MINIMUM of 8 characters in length (can be longer)
> >- 2 digits REQUIRED (anywhere in string)
> >- 2 alpha REQUIRED (anywhere in string)
> >
> >So they must put in at least an 8 character string that contains at least
> >2 digits, and 2 numbers
> >(and whatever else they want.)
>
>
> would
>
> __1__2__ be acceptable or do you require a-z?
>
>
>
> Frank Marion lists at frankmarion.com Keep the signal high.
>
>
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list