RsD0p9BK
5/11/2016 - 12:31 PM

From http://stackoverflow.com/questions/5517255/remove-style-attribute-from-html-tags

$output = preg_replace('/(<[^>]+) style=".*?"/i', '$1', $input);