For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2004 > Parse HTML/CSV









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Parse HTML/CSV
davidtru

2004-07-22, 2:06 pm

I am extremely new to Perl, and am looking to extract data from a table into a CSV file. I am able to limit the html code down to the data I want, but the line I am trying to work with is

07/22/2004 11</TD><TD ALIGN=RIGHT>68.95</TD><TD ALIGN=RIGHT>61.23</TD><TD ALIGN=RIGHT>8154.0</TD></TR>

With this, I want to be able to get just the date, and the three numerical values into separate cells in a CSV. I am able to output the data to a CSV, but I cannot just get the values without the extra formatting. Any help whatsoever would be appreciated.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com