Php Pattern Match Example
//if(preg_match_all("/\
(.*?)<\/p>/is",$content,$outputcontent,PREG_SET_ORDER))
if(preg_match_all("/\
(.*?)<\/div>/is",$content,$out1,PREG_SET_ORDER))
/*echo $count=count($outputcontent);
$filecontent = preg_replace('/\(\s*)/is',"",$filecontent);
$filecontent = preg_replace('/\<\/sup>(\s*)<\/sup>/is',"",$filecontent);
/*echo $count=count($outputcontent);
$filecontent = preg_replace('/\(\s*)/is',"",$filecontent);
$filecontent = preg_replace('/\<\/sup>(\s*)<\/sup>/is',"",$filecontent);

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home