Need help parsing file/writing script

Posted by Bradley Herman on Stack Overflow See other posts from Stack Overflow or by Bradley Herman
Published on 2010-03-31T13:13:41Z Indexed on 2010/03/31 13:23 UTC
Read the original article Hit count: 369

Filed under:
|
|

Hey all, I have been doing nothing but web development over the last few years and haven't written any Java or C++ in what feels like forever. I don't necessarily need to use these languages, so I'm entirely open to suggestion. I was given an email list by a client to import into their mailchimp account yesterday and unfortunately, Mailchimp couldn't read the file. It's a text file, but I don't believe it's tab delimited (which would make this much, much easier for me).

A small portion of the file (I've changed last names and email addresses) can be viewed here: http://sparktoignite.com/patients.txt

If anyone has suggestions on how I can get this into a Mailchimp readable format (csv, tab delimited txt, excel) please let me know. I feel like 3 years ago I would've been able to do this in a matter of minutes, but given that I haven't touched anything other than RoR, PHP, and jQuery for the last few years, I don't know where to start.

Thanks!

© Stack Overflow or respective owner

Related posts about script

Related posts about parsing