`
static Pattern emoji = Pattern.compile( "[\ud83c\udc00\\-\ud83c\udfff]|[\ud83d\udc00\\-\ud83d\udfff]|[\u2600-\u27ff]", Pattern.UNICODE_CASE | Pattern.CASE_INSENSITIVE);public static String cleanEmoji(String s){ if (TextUtils.isEmpty(s)){ return ""; } Matcher matcher = emoji.matcher(s); if (matcher.find()){ return "..."; } return "";}
`