Answers for "check for a closing html tags in a string php"

PHP
1

php remove span tags from string

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

remove html from string php

echo strip_tags("Hello <b>world!</b>");
Posted by: Guest on May-18-2020

Code answers related to "check for a closing html tags in a string php"

Browse Popular Code Answers by Language