Answers for "php remove span from string"

PHP
1

php remove span tags from string

echo $new_string = preg_replace('/<span[^>]+\>/i', '', $content);
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language