I would like to iterate over a string and output all emojis.
I\'m trying to iterate over the characters, and check them against an emoji list.
However, python se
Try this,
import re re.findall(r'[^\w\s,]', my_list[0])
The regex r'[^\w\s,]' matches any character that is not a word, whitespace or comma.
r'[^\w\s,]'