php remove html tag wrap code example
Example: php remove html tag wrap
$text = "<p><script>example text inside script.<script></p>";
echo strip_tags($text, '<script>');
$text = "<p><script>example text inside script.<script></p>";
echo strip_tags($text, '<script>');