Can any one of you let me know, how can I replace a pattern in an html file using C#?<BR>I have the contents of the html file stored in a string. I just need to replace some of the elements which have a similar pattern?<BR>ex: I have a field {Token = LoanNumber} in the html file.<BR>I just need to replace Loan Number with some text by finding the pattern "{Token=}".<BR>Any suggestions are welcome.<BR>Thanks.