in reply to Quickie regular expression question.
if ( $newpasswd !~ /^[A-Za-z0-9]+$/ ) { # blah } [download]