[thelist] regex help - password pattern - javascript
Anthony Ettinger
apwebdesign at yahoo.com
Mon Sep 26 16:30:12 CDT 2005
--- Frank <lists at frankmarion.com> wrote:
> At 02:52 PM 2005-09-26, you wrote:
> >/^([\w][\d]{2,}){8,}$/
> >
> >I'm thinking this really only says one word char
> and 2 digits, 8
> >times...somewhat confused.
>
>
> OOPS! I gapped out for a second
>
> ^([\w\d]{2,8})$
>
> ^ start string
> Remember
> (
> [any \word or \digit] {two to eight times
> repeated}
> )
> $ end string
I thought he wanted 8 (and only 8) word characters,
and 2 and only 2 digits.
([\w\d]{2,8}) would be min 2 and max 8 of either.
Anthony Ettinger
ph: (408) 656-2473
blog: http://www.chovy.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the thelist
mailing list