tags:

views:

17

answers:

0

I need someone smart to help me here

I have a large batch of txt files(articles) +/- 300K. that I need to edit, but I need the output file to be a txt file but must be in a specific layout, let me explain

This is how the txt file appears:


Title: 
“How To”  Start Trading The Forex Market? ( Part 2)

Word Count:
608

Summary:
Why is FOREX trading so popular?

Keywords:
online foreign currency trading forex, online forex brokers, forex managed accounts, broker assisted a


Article Body:
Why is FOREX trading so popular?

Because you can trade from anywhere. From your kitchen table,...............

I need the output file to appear as follows:

“How To”  Start Trading The Forex Market? ( Part 2)
online foreign currency trading forex, online forex brokers, forex managed accounts, broker assisted a

Why is FOREX trading so popular?

Because you can trade from anywhere. From your kitchen table,...............

That is, the title must be in line 1, keywords in line 2, and the rest must be the content.

I have been struggling with this problem for a while. Please can someone suggest some way of doing this?