-1

I have following string

Join us for an AMA with @hotcrosscom ️ Friday, Dec 10th ⏰ 2PM UTC Moonpot's Telegram Scan the QR

and applying

var newContent = Regex.Replace("Join us for an AMA with @hotcrosscom ️ Friday, Dec 10th ⏰ 2PM UTC Moonpot's Telegram Scan the QR", @"\p{Cs}", "");

doesnt seem to remove the emoji, i thought @"\p{Cs}" would do it I would like to remove all emojis and not just that one from content, thank you

Zoinky
  • 4,083
  • 11
  • 40
  • 78
  • 1
    Very similar to [this question](https://stackoverflow.com/questions/14527292/c-sharp-regex-to-match-emoji), not sure if duplicate tho – Cleptus Dec 09 '21 at 21:08
  • Offtopic: A quick reading almost made me flag it as spam ;-) – Cleptus Dec 09 '21 at 21:10

1 Answers1

0

Right answer was "\p{So}"

Zoinky
  • 4,083
  • 11
  • 40
  • 78