I was going to try to explain how to do it but decided it was easier just to write the script. it uses stristr so case is not a problem.
<?php
$grab_url = "http://localhost/test/grabme.html";
$lines=file($grab_url);
// set up the start an end strings
$req_str="Last change";
$end_str="EST";
// then scan each line for the required string
unset($the_str);
for($loop=0; $loop<count($lines); $loop++ )
{
if ( stristr($lines[$loop], $req_str) )
{
//got the start string now need to extract the bit we want
$startbit=strstr($lines[$loop], $req_str);
$endbit=strstr($lines[$loop], $end_str);
$str_pos=strlen($lines[$loop])-strlen($startbit);
$bit_len=strlen($startbit)-strlen($endbit);
$the_str=substr($lines[$loop], $str_pos, $bit_len).$end_str;
break;
}
}
echo "(".$the_str.")";
?>
That should get the bugger no matter where it moves on the page, and due to the use of req_str and end_str it is very easy to change the code to fit a different start and end string.
Mark.