I use code like this to strip things out
$string = preg_replace('#</?t(able|r|d)(\s[^>]*)?>#i', '', $string); // strip out tables
But I need to strip out this:
left:0px; top: 0px;
how can I do this?
If that's the text exactly, why not just
str_replace('left:0px; top: 0px;','',$string);
It's not as fancy and not quite as fast but it is easy to see when you have to come back to it.
im tryin to stay away from str_replace if possible for speed issues, my site is very high traffic