Sorry folks forgotten this one, I need to read the first \"batch\" of comment in a php file example would be:
function find_between($from,$to,$string){ $cstring = strstr($string, $from); $newstring = substr(substr($cstring,0,strpos($cstring,$to)),1); return $newstring; }
then just call : $comments = find_between('/\*\*','\*\*/',$myfileline);
$comments = find_between('/\*\*','\*\*/',$myfileline);