By text formatting I meant something more complicated.
At first I began manually adding the 5000 lines from the text file I\'m asking this question for,into my proje
Like it's already mentioned, I would highly recommend using regular expression (in System.Text) to get this kind of job done.
In combo with a solid tool like RegexBuddy, you are looking at handling any complex text record parsing situations, as well as getting results quickly. The tool makes it real easy.
Hope that helps.