00001 <?php 00002 $str = "Bob drove a PB: 123:29.56 on BL GP with XFG"; 00003 $str = "mattupson drove a PB: 1:48.900 on AS_national with FZ50 GTR"; 00004 // 00005 $res = array(); 00006 $r1 = preg_match("/(.*) drove a PB: ([0-9]{1,}):([0-9]{2})\.([0-9]{3}) on (.*) with (.*)/i", $str, $res); 00007 print_r($res); 00008 ?>