Hi,
the code u sent is displaying the html as it is,
but
There is more than one way to do that.
Atmost we can atleast do this.
$pos = strpos($html,"/","",$start);
print "$start $html" ;
On Mon, 7 Jan 2002, Jimmy wrote:
> Hi WB,
>
>
> > Hi i need to stri
Hi WB,
> Hi i need to strip out the up to the tag.
> preg_replace( "/" , " " , $body );
try this:
preg_replace( "/[^]*]*>/" , " " , $body );
--
Jimmy
Your mind is like parachute. It works best when it is open.
--
PHP General Mailing List (http://www.php.net/
Hi,
Ur quest is not clear.
Whether u want to delete everything upto tag or only tags
up to body tag.
anyway this might work for the former.
$parsed = preg_replace("/\\n/","",$html); // to remove '\n' in HTML file
$parsed = preg_replace("/^(.*)(" tag
Thanks.
On Mon, 7 Jan 2002, WB
Hi,
Hi i need to strip out the up to the tag.
For some reason, my function,
preg_replace( "/" , " " , $body );
does not work.
Ok I am not really brilliant at regular expressions ...
Help?
Jay
4 matches
Mail list logo