 <p>Sometimes regexp only further complicates things. PHP has a great function called <code>ctype_alpha()</code> that will check if a variable is only A-Za-z.</p> <pre><code>(ctype_alpha($newcompanycity)) </code></pre> <p>Here's a <a href="https://eval.in/376859" rel="nofollow">working example for you</a></p>