php remove class attribute
snippet in php

php remove class attribute

user3440

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