From http://stackoverflow.com/questions/5517255/remove-style-attribute-from-html-tags
$output = preg_replace('/(<[^>]+) style=".*?"/i', '$1', $input);