[thelist] regex help - password pattern - javascript
Frank
lists at frankmarion.com
Mon Sep 26 15:59:20 CDT 2005
At 02:52 PM 2005-09-26, you wrote:
>/^([\w][\d]{2,}){8,}$/
^ start string r
back-reference (remember)
( word or digit
{2, two times to infinite length}
)
{eight times to infinite length}
$ end string
>I'm thinking this really only says one word char and 2 digits, 8
>times...somewhat confused.
Try this instead
^([\w\d]){2,8}$
^ start string
remember
(word or digit)
{two to eight in length}
$ end string
Frank Marion lists at frankmarion.com Keep the signal high.
More information about the thelist
mailing list