Changed database ip
This commit is contained in:
10
functions/emoji_check.py
Normal file
10
functions/emoji_check.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import re
|
||||
|
||||
def deEmojify(text):
|
||||
regrex_pattern = re.compile(pattern = "["
|
||||
u"\U0001F600-\U0001F64F" # emoticons
|
||||
u"\U0001F300-\U0001F5FF" # symbols & pictographs
|
||||
u"\U0001F680-\U0001F6FF" # transport & map symbols
|
||||
u"\U0001F1E0-\U0001F1FF" # flags (iOS)
|
||||
"]+", flags = re.UNICODE)
|
||||
return regrex_pattern.sub(r'',text)
|
||||
Reference in New Issue
Block a user