从字符串中提取所有表情符号的正则表达式是什么?
我有一个用 UTF-8 编码的字符串。例如:
Thats a nice joke
我有一个用 UTF-8 编码的字符串。例如:
Thats a nice joke
Using emoji-java i've wrote a simple method that removes all emojis including fitzpatrick modifiers. Requires an external library but easier to maintain than those monster regexes.
Use:
String input = "A string