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:

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

"2 emoticons found:
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


1 Like