shiyaf s

shiyaf s

  • NA
  • 2
  • 2.2k

C# regular Expressions

May 12 2014 5:16 AM
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)