public static String removeAllEmojis ( String str ) { EmojiTransformer emojiTransformer = new EmojiTransformer ( ) { public String transform ( UnicodeCandidate unicodeCandidate ) { return "" ; } } ; return parseFromUnicode ( str , emojiTransformer ) ; }
Removes all emojis from a String