View Single Post
Old 09-09-2008, 08:58 AM   #1 (permalink)
CHASE
The Wanderer
 
Join Date: Feb 2008
Posts: 18
Thanks: 0
CHASE is on a distinguished road
Default preg_replace issue..

Okay.. so i'm trying to chop out the entire header of my document i'm reading.. but it just wont seem to do it.. any help?

$result = preg_replace("/<!doctype html><head>(.*)head>/", '', $result);
__________________
World domination would be much easier, if you would all just surrender to me already.
Send a message via AIM to CHASE Send a message via MSN to CHASE Send a message via Skype™ to CHASE
CHASE is offline  
Reply With Quote