I wrote this function who knows when:
function findText($string,$start,$stop)
{
$stat = strstr($string,$start);
$stat = substr($stat,strlen($start),strlen($stat)-strlen($start));
$temp = strstr($stat,$stop);
$stat = substr($stat,0,strlen($stat)-strlen($temp));
return $stat;
}
It basically searches "string" and returns everything between "start" to "stop" (Exclusive). Not sure if it's most efficient but it works fine so hope it helps 😉