php remove span tags from string
snippet in php

php remove span tags from string

user7231

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