Advertisement

07.18.2008 at 05:48PM PDT, ID: 23578571 | Points: 500
[x]
Attachment Details

How do I parse this text into a CSV?

Asked by sparkie_77 in Ruby Scripting Language

I need to parse and transform a text file in a propietary format as a csv file. each event would be a seperate column heading and I need to also grab all the information after the second ===== in each section.

Here is an example of the text that needs to be transformed: I have a text file here: http://www.pausatf.org/data/2008/ytfregion14results.txt

Any example code would be appreciated. Start Free Trial
 
Loading Advertisement...
 
[+][-]07.20.2008 at 03:36AM PDT, ID: 22045186

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628