title: PHP - Remove all tabs from string
body: <p>I am able to remove all single tabs from a string:</p>
  
  <pre><code>// Copying and pasting the tab directly
  $txt = str_replace("    ", "", $txt); 
  </code></pre>
  
  <p>This only removes single tabs, but not double tabs.
  I then tried this, thinking that "\t" would be sufficient to find the tabs:</p>
  
  <pre><code>$txt = preg_replace('/\t/', '', $txt);
  </code></pre>
  
  <p>However, it didn't work.  Can anyone offer something better?</p>