I use the following regular expression to remove emojis:
"[\ud83c\udc00-\ud83c\udfff]|[\ud83d\udc00-\ud83d\udfff]|[\u2600-\u27ff]"
it works well in Java. But I got compile errors in c++:
\ud83c is not a valid Unicode character
\udc00 is not a valid Unicode character
\ud83c is not a valid Unicode character
\udfff is not a valid Unicode character
\ud83d is not a valid Unicode character
\udc00 is not a valid Unicode character
\ud83d is not a valid Unicode character
\udfff is not a valid Unicode character
How do I use the regular expression in c++?