title: Prevent a number from being the first character in a string with preg_match()
body: <p>This code works to allow only alphanumeric characters but I want to prevent <code>$name</code> from starting with a number. How do I do this?</p>
  
  <pre><code>$name = "007_jamesbond";
  
  if(preg_match('/[^a-z_\-0-9]/i', $name)){
   echo "invalid name";
  }
  </code></pre>