I dont seem to be getting these regular expressions. Sorry for all the questions. When i do a (.*) between two strings, i thought it would capture everything between those two strings for instance i have the following html code.
<TR VALIGN=TOP>
<TD ALIGN=RIGHT BGCOLOR="#FFFFFF"><B><FONT COLOR="#0000A0"><FONT FACE="Arial,Helvetica"> Temperature </FONT></FONT></B></TD>
<TD><FONT FACE="Arial,Helvetica"> 34.0 F (1.1 C)
</FONT></TD>
</TR>
Im trying to get the 34.0 from it. So I tried this eregi
$Grab = eregi("Temperature </FONT></FONT></B></TD>
<TD><FONT FACE=\"Arial,Helvetica\"> ([0-9].[0-9]) F", $ReadFile, $Display);
Which gave me nothing and i also tried this
$Grab = eregi("Temperature </FONT></FONT></B></TD>
<TD><FONT FACE=\"Arial,Helvetica\">(.*)</FONT>", $ReadFile, $Display);
Which should by my understanding captured 34.0 F (1.1 C)
But i got nothiing. If you see what im doing wrong, any help would be greatly appreciated.
Thanks.
Ira