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.
In reply to Re: Regex Password validation
by dws
in thread Regex Password validation
by tcf22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |