Hyphenated names don't cut it in your world. Or names with attached
qualifiers like 'Jr.'. Or titles like ', M.D.'
So Pei Wu-Schlossnagle, PhD.
Chuck Tomasi wrote:
One of my cohorts pointed me in the right direction. I should have known
this from previous experience.
if ($st !~ /^[a-zA-Z
One of my cohorts pointed me in the right direction. I should have known
this from previous experience.
if ($st !~ /^[a-zA-Z \']+$/) {
print "$st: bad chars found\n";
} else {
print "$st: OK\n";
}
A simple "^" at the beginning and "$" at the end.
Thanks to all who assisted with