I am able to remove all single tabs from a string:
// Copying and pasting the tab directly $txt = str_replace(\" \", \"\", $txt);
This only
trim(preg_replace('/[\t|\s{2,}]/', '', $result))
Removes all tabs, including tabs created with multiple spaces