PHP Remova o atributo de classe
$html = preg_replace('/class=".*?"/', '', $html);
Geeky Bravo
$html = preg_replace('/class=".*?"/', '', $html);