php remove class attribute

43

php remove class attribute -

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

Comments

Submit
0 Comments