Hello,
i would like to delete all comments in a string like this:
$string = "blabla<!-- comment -->abcdefg";
should be: "blablaabcdefg"
it also should work with comments over lines (ending-tag "//-->")
Thanx for help!
please explain in detail
Objective not clear
i have a html-file in a string and would like to kill all comments in it (all texts that included in <!-- --> or <!-- //-->)
hope that helps...