I have my code removing the starting tags, but now I want to replace the ending
use str_replace instead of preg_replace, so:
$content = 'This is a new content for missing slash'; $newcontent = preg_replace("/]*?>/", "", $content); $newcontent = str_replace("", "", $newcontent);
This is a new content for missing slash
]*?>/", "", $content); $newcontent = str_replace("