A simple search on CPAN returns dozens of possibilities.
I can't comment on or recommend any particular module, as I've not used any of them myself. However, I would recommend using a module rather than trying to pre-cook your own regular expression - why re-invent the wheel?
--DarrenIn reply to Re: Password validation
by McDarren
in thread [untitled node, ID 492233]
by Toxa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |