Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php remove span tags from string
Satoshi Amano
Programming language:
PHP
2021-04-14 20:33:29
0
Q:
php remove span tags from string
Ronronner
Code:
PHP
2021-06-18 05:46:27
echo $new_string = preg_replace('/<span[^>]+\>/i', '', $content);
1
Tags
string
php
remove
Related
remove element from xml on php
php remove last character from string if comma
php remove everything after character
remove space from start and end of string in php
php remove stop words from string
remove html tags from string php
php strip tags
string remove line breaks php
remove html from string php
php remove anchor tag from string
remove space from string php
remove last comma from string php
remove empty spaces php
php remove all whitespace from a string
php remove dashes from string
php remove html tags
remove all spaces php
php remove html tag wrap
remove spaces from string php
New to Communities?
Join the community