Php removes html tags and css styles and jumps to [1] [full screen preview]
$ Content = preg_replace ("/] *>/I", "", $ content); $ content = preg_replace ("/<\/a>/I ","", $ content); $ content = preg_replace ("/
] *>/I "," ", $ content); $ content = preg_replace ("/<\/p>/I "," ", $ content ); $ content = preg_replace ("/
/I "," ", $ content); // comment content $ content = preg_replace ("/style =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/class =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/id =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/lang =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/width =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/height =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/border =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/face =. +? ['| \ "]/I", '', $ content); // remove the style $ content = preg_replace ("/face =. +? ['| \ "]/", '', $ Content); // only lower-case regular expression matching is allowed without the I parameter