1
Answer

C# regular Expressions

Photo of shiyaf s

shiyaf s

10y
1.1k
1
I have a regular expression like 
 
 tempString = Regex.Replace(tempString, @"[^a-zA-Z0-9\. \\/:*-\[\]]", "");
 
first "tempString" is assigned a value "français (France)"  but after executing below mentioned expression the value got changed to "fran?ais France"
 
so i want to retain the original string that assigned initially aven after executing the below expression .
 
So ahat should be the modifiction to be done on that expression for retaining all characters in my string? 

Answers (1)