[thelist] regex help - password pattern - javascript
Frank
lists at frankmarion.com
Mon Sep 26 16:06:20 CDT 2005
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
That's better.
Frank Marion lists at frankmarion.com Keep the signal high.
More information about the thelist
mailing list