阅读背景:

使用带有可变文本的正则表达式替换文本?

来源:互联网 

Lets say I have some text with lots of instances of word "Find", which I want to replace it with text like "Replace1","Replace2","Replace3", etc. The number is the occurrence count of "Find" in the text. How to do it in the most effective way in C#, I already know the loop way.Lets say I have some text with lots of instance




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: