I'm trimming all extra spaces and tab characters with trim() and rtrim()... it does a decent job, however I still get some random tab and/or space character spam, anyone else run into this and know what the problem is and maybe a way to fix it ?
This is somewhat detrimental since I am scanning a mass ammount of html files and generating a lookup table based on single words, so sometimes I get an entry with a massive ammount of either tabs or spaces in them that slipped through the trimming process.
Any help would be appreciated