Forum Navigation
Formatted Input
Posted: 04/05/09 00:37:41Hi all,
I was wondering what the best way to gather formatted input would be. For instance, take the example below which is an extract from my router's front page. Is there a smart way of extracting information such as uptime in days, hours, etc. and the amount of date received?
Dan
<tr><td> Connection time </td> <td> 9 days, 1:23:12 </td> </tr> <tr><td colspan='2'> <img src='/images/spacer.gif' height='5' width='100%' alt=''></td></tr> <tr><td class='black' colspan='2'> <img src='/images/spacer.gif' height='1' width='100%' alt=''></td></tr> <tr><td colspan='2'> <img src='/images/spacer.gif' height='20' width='100%' alt=''></td></tr> <tr><td class='black' colspan='2'> <img src='/images/spacer.gif' height='1' width='100%' alt=''></td></tr> <tr><td bgcolor='#F6F7FC' colspan='2'> <img src='/images/spacer.gif' height='5' width='100%' alt=''></td></tr> <tr><td bgcolor='#F6F7FC'> Data transmitted </td> <td bgcolor='#F6F7FC'> 220.55 MB </td> </tr> <tr><td bgcolor='#F6F7FC' colspan='2'> <img src='/images/spacer.gif' height='5' width='100%' alt=''></td></tr> <tr><td class='black' colspan='2'> <img src='/images/spacer.gif' height='1' width='100%' alt=''></td></tr> <tr><td colspan='2'> <img src='/images/spacer.gif' height='5' width='100%'alt='' ></td></tr> <tr><td> Data received </td> <td> 2.82 GB</td> </tr>