![]() |
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); |
Nevermind, got it to work
This is the code I used $result = preg_replace("@<!doctype html><head>.*<\/head>@si", '', $result); |
| All times are GMT. The time now is 09:58 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0