<?
$str="(medical and transcription) or jobs (testing purpose) india is good country (india)";
/*if(preg_match_all("/\\((.*?)\)/is",$str,$out1,PREG_SET_ORDER))
$count=count($out1);
$testarr=array();
for($i=0;$i<$count;$i++)
{
array_push($testarr,$out1[$i][1]);
}
echo "<pre>";
print_r($testarr);
echo "</pre>";*/
$tst=split("\)|\(",$str);
echo "<pre>";
print_r($tst);
echo "</pre>";
?>
Wednesday, May 28, 2008
Subscribe to:
Posts (Atom)