php remove class attribute

40

php remove class attribute -

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

Comments

Submit
0 Comments