0

I'm using this statement to remove emoticons from a string:

text = Regex.Replace(text, @"[^\u1F600-\u1F64F]+", "");   //Emoticons

Based on the official Unicode page chart, https://www.unicode.org/charts/PDF/U1F600.pdf.

But this replace statement not only remove emoticons also removes another characters like "." or "-".

Why is that?

GSerg
  • 76,472
  • 17
  • 159
  • 346
Uriel Falak
  • 139
  • 1
  • 14

0 Answers0