How to parse a text file with C#

后端 未结 7 1925
面向向阳花
面向向阳花 2020-12-08 14:57

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

7条回答
  •  星月不相逢
    2020-12-08 15:16

    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.

提交回复
热议问题