[FONT="]hello[/FONT]
[FONT="]i want to edit a file by c# string by this code[/FONT]
[FONT="] string text = File.ReadAllText(@"c:\a.txt", Encoding.UTF8);
string text1 = text.Replace("xx", XX");
File.WriteAllText(@"d:\a.txt", text1);[/FONT]
[FONT="]i want to search in string and when find example replace exam\ple and 4 word after exam\ple with exam\plexxxx[/FONT]
[FONT="]problem is i dont know what is the 4 word and i want replace.[/FONT]
[FONT="]i want any like * in windows seach.[/FONT]
[FONT="]in windows search * can support all character.[/FONT]
[FONT="]i want to edit a file by c# string by this code[/FONT]
[FONT="] string text = File.ReadAllText(@"c:\a.txt", Encoding.UTF8);
string text1 = text.Replace("xx", XX");
File.WriteAllText(@"d:\a.txt", text1);[/FONT]
[FONT="]i want to search in string and when find example replace exam\ple and 4 word after exam\ple with exam\plexxxx[/FONT]
[FONT="]problem is i dont know what is the 4 word and i want replace.[/FONT]
[FONT="]i want any like * in windows seach.[/FONT]
[FONT="]in windows search * can support all character.[/FONT]