$string = "<td>523.0000 </td>"; ereg('<td>([0-9]{0,}.[0-9]{0,}) </td>', $string, $reg); echo $reg[1]
$txt="<td>523.0000 </td>"; preg_match("/<td>([\.\d]+) <\/td>/iUs",$txt,$matches); print $matches[1];
$site = "http://www.pfts.com/uk/moreinformation/".$tiker."/";
$txt="523.0000&nb"; preg_match("/(\d+(\.\d+)?)/is",$txt,$matches); print $matches[1];