php remove span tags from string

Solutions on MaxInterview for php remove span tags from string by the best coders in the world

showing results for - "php remove span tags from string"
Liana
17 Apr 2019
1echo $new_string = preg_replace('/<span[^>]+\>/i', '', $content);