Is There a better way?These regexes should fit your criteria
Check out perlre for more info on the above regexes.my $fullname = qr/\A[a-z]{1,30}\z/i; my $username = qr/\A[a-z]\w{2,16}\z/i; my $password = qr/\A.{6,30}\z/;
_________
broquaint
In reply to Re: Reasonable RegExps
by broquaint
in thread Reasonable RegExps
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |