well i think you owuld being by making a parser and then one by one...replace all those things you mentioned above, i mean for doin something like border="0" to border=0
$Content = str_replace(""", "", $Content);
i think...just working off the top of me head...
or should it be:
$Content = str_replace("\"", "", $Content);
eh..