PHP Eliminar el atributo de clase

$html = preg_replace('/class=".*?"/', '', $html);
Geeky Bravo