in reply to Re: String Validationin thread String Validation
if ($lastname =~ /[^a-zA-Z' -]/) { die("Bad character\n"); } [download]
Ref: perlre