public static String replaceAllEmojis ( String str , final String replacementString ) { EmojiParser . EmojiTransformer emojiTransformer = new EmojiParser . EmojiTransformer ( ) { public String transform ( EmojiParser . UnicodeCandidate unicodeCandidate ) { return replacementString ; } } ; return parseFromUnicode ( str , emojiTransformer ) ; }
Replace all emojis with character