How to extract Emoji's from line of text?

I'd love to know if it's possible with Keyboard Maestro to distract (all) emoji's from a text line, counting how many Emoji's were found and then seperating them into new lines of text. See example below:

For example:

EXAMPLE INPUT:
":house: :dog: pet the dog at home"

EXAMPLE OUTPUT:
"2 emoticons found:
:house:
:dog:
text without emoticons: " pet the dog at home"


Greetings from Amsterdam, The Netherlands

Hey Roel,

Can it be done? Looks like, although I've not tested it.

Regex to match all emoji - Regex Tester/Debugger

-Chris

1 Like