Alina John

Alina John

  • NA
  • 36
  • 5k

How Can i use Regex.Replace with Non-English "ARABIC Strings

Jan 28 2018 10:52 AM
Hey Folks!
 
I am having a problem using Regular Expression in Non-English (URDU) string. I want to use
"Regex.Replace" with Urdu Strings to remove Special Characters but when I pass Urdu String to "Regex.Replace" it is removing entire urdu as considering it "NON-ENGLISH/INTEGRAL" value.
 
string name = Regex.Replace("Urdu ???? Here", @"[^0-9a-zA-Z]+" ," ");
 
Any suggestion? 

Answers (2)