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