in reply to Regex Password validation

Is there a way to verify that a password has at least 1 number, 1 letter, and 1 special character in one regex.

This thread discusses a nearly identical question, and the more general problem of how to structure your code to deal with inevitable changes in password requirements.

Replies are listed 'Best First'.
Re: Re: Regex Password validation
by tcf22 (Priest) on May 29, 2003 at 22:58 UTC
    Thanks. That sent me in the right direction.

    I'm probably going to leave the code the way it is, to keep it more maintainable, but I couldn't think of how to do it in one regex. So if there is something I can't figure out, I just gotta try.