title: PHP Detect if non-english
body: <p>I am using these code to check if a string is in English or not.</p>
  
  <pre><code>&lt;?php
      $string="で書くタッチイベント (フ";
  
      if(!preg_match('/[^\W_ ] /',$string)) {
          echo "Please enter English words only:(";
      } else {
          echo "OK, English Detected!";
      }
  ?&gt;
  </code></pre>
  
  <p>It cant provide perfect result because string like <code>"some english text で書くタッチイベント (フ"</code> this also detects as English language, any idea?</p>