I need to extract the number on each <td tags from a html file.

i.e 49.950 from the following:

<td align=right width=80><font size=2 face="New Times
Roman,Times,Serif">&nbsp;49.950&nbsp;</font></td>

The actual number between: &nbsp;49.950&nbsp; can be any number of
digits before decimal and after decimal.

<td align=right width=80><font size=2 face="New Times
Roman,Times,Serif">&nbsp;######.####&nbsp;</font></td>

How can I just extract the real/integer number using regex?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to