<?php
function extractBetween($text,$start,$end)
{
if(preg_match('/'.$start.'(.*)'.$end.'/',$text,$matches)){
return $matches[1];
}
return '';
}
?>
<?php
function extractBetween($text,$start,$end)
{
if(preg_match('/'.$start.'(.*)'.$end.'/',$text,$matches)){
return $matches[1];
}
return '';
}
?>