I am able to remove all single tabs from a string:
// Copying and pasting the tab directly $txt = str_replace(\" \", \"\", $txt);
This only
this will remove all tabs in your variable $string
preg_replace('/\s+/', '', $string);