in reply to Re: simple regex for names or last names
in thread simple regex for names or last names
unless ( param('Company Name') =~ /^[\w.\'-]+$/) { print "Invalid characters in name. Only alphanumeric characters and + the following symbols . ' - _ are allowed."; }
|
|---|