How can I remove all graphical unicode characters (emoji, symbols, flags, etc) from a string?
I have tried:
$text =~ s/[\x{0001F600}-\x{0001F64F}]|[\x{0001F300}-\x{0001F5FF}]|[\x{0001F680}-\x{0001F6FF}]|[\x{0001F1E0}-\x{0001F1FF}]|[\x{2600}-\x{26FF}]//g;
It removes some characters, but not all.
These characters are left untouched by regex:
What did I miss?