tcf22 has asked for the wisdom of the Perl Monks concerning the following question:
if(($new_password !~ /\d/) || ($new_password !~ /[a-zA-Z]/) || ($new_password !~ /\W/)) { return (0, 'Your password must contain at least 1 letter, 1 nu +mber, and 1 special character'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Password validation
by dws (Chancellor) on May 29, 2003 at 22:09 UTC | |
by tcf22 (Priest) on May 29, 2003 at 22:58 UTC | |
|
Re: Regex Password validation
by phydeauxarff (Priest) on May 29, 2003 at 23:12 UTC |