in python-app/comment-stream.py [0:0]
def remove_emoji(comment):
emoji_pattern = re.compile("["
u"\U0001F600-\U0001F64F" # emoticons
u"\U0001F300-\U0001F5FF" # symbols & pictographs
u"\U0001F680-\U0001F6FF" # transport & map symbols
u"\U0001F1E0-\U0001F1FF" # flags (iOS)
u"\U00002702-\U00002f7B0"
u"\U000024C2-\U0001F251"
"]+", flags=re.UNICODE)
cleaned_comment = emoji_pattern.sub(r'', comment)
return cleaned_comment