can any one tell me what is the correct reg-ex and how to do it to remove both
<!--[if !supportLineBreakNewLine]-->
and
<!--[endif]-->
using something like preg_replace
thanks
how to?? reg-ex)
Moderator: General Moderators
- ridgerunner
- Forum Contributor
- Posts: 214
- Joined: Sun Jul 05, 2009 10:39 pm
- Location: SLC, UT
Re: how to?? reg-ex)
Try this:
Code: Select all
$str = preg_replace('/<!--.*?-->/s', '', $str);Re: how to?? reg-ex)
that did work but the problem is that is removed every thing with it
i have some images and colors that got removed and the hall text too
and way i am only facing this problem on IE not on other browsers if you would like to see what i mean hear is it
saadizeidan . com
anyway try it on IE and on any other browser and you'll see what i mean.
thanks in advanced
i have some images and colors that got removed and the hall text too
and way i am only facing this problem on IE not on other browsers if you would like to see what i mean hear is it
saadizeidan . com
anyway try it on IE and on any other browser and you'll see what i mean.
thanks in advanced