Using which language? Also, does anyone else find it odd that the line has one <table> and 2 </table>s? Is there another <table> further up?
Cheers, Carl. On 26/05/06, Nick Rout <[EMAIL PROTECTED]> wrote:
given this string (all one line): Tracker Load: (9 %)<table class=main border=0 width=400><tr><td style='padding: 0px; background-image: url(pic/loadbarbg.gif); background-repeat: repeat-x'><img height=15 width=36 src="/pic/loadbargreen.gif" alt='9%'></td></tr></table>18:25:15 up 2 days, 23:44, 1 user, load average: 18.73, 20.96, 27.06<br></td></tr></table> what is the best way to parse out the first load average figure, ie in this case 18.73 -- Nick Rout <[EMAIL PROTECTED]>