title: Trying to validate a name field to be sure it is all alpha characters or a hyphen or apostrophe
body: <pre><code>if(!preg_match("/[a-zA-Z'-]/",$First)) { die ("invalid first name");}
  </code></pre>
  
  <p>the above only flags input as invalid when the field is all numeric. combinations of letters and numbers pass ok.  Some help here for a newby please.  thanks.</p>