remove html tags from string php

38

php remove span tags from string -

echo $new_string = preg_replace('/<span[^>]+\>/i', '', $content); 

Comments

Submit
0 Comments