Parser in C#

Aug 22 2008 2:37 AM

Hi guys,

I need to design a parser in c# which parses a text file and replaces a given text with another text, moreover it should comment the previous text,eg:

Before:

this is sam

After:

' this is sam     // original statement

this is not sam  // replaced

Can someone pls guide me through this.

thanks

Sid

 


Answers (2)