How To use NSRegularExpression by C# code?

Hello ..
I have unicode characters so I want to use Regex, in Android :
after = Regex.Replace(before, @"[π]", "pi");
but in iOS I must use NSRegularExpression class, I can't use it

NSRegularExpression NS = new NSRegularExpression(); after = NS.ReplaceMatches(before, 0, new NSRange(0, before.Length), "pi"); // where this -> @"[π]" or how use this method ..
Thanks ..

Best Answer


  • yes thank you .. I Noticed that :wink:

Sign In or Register to comment.