title: Regex to find only letters using PHP
body: <p>I am trying to create a regex which will detect if a string has only letters in it. Can anyone tell me if the following code does that correctly?</p>
  
  <pre><code>$text = "asdsad";
  if (ereg('[^A-Za-z]', $text)) {
    echo "More then letters";
  }
  
  else {
    echo "only letters";    
  }
  </code></pre>