Answers for "php remove span tags 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

Code answers related to "php remove span tags from string"

Browse Popular Code Answers by Language