Identify Emoji characters specifically

We love the emojis :heavy_heart_exclamation: in Coda, however not every service does. We are currently working with one that doesn’t recognize them and they break the API. Is there a sure-fire way to find and extract emojis out of a string? Maybe they are all in specific range of the character() function? This would be great to solve until the world realizes hieroglyphics are the new old hotness!

In my case each emoji was at the end, ie object =

Task :mechanical_arm:

At first I tried using left(object, length(object)-1)

However some emojis are one character and some seem to be two. This was not consistent. I came up with:

split(object, " ").first()

This works, but isn’t a ‘complete’ solution for identifying and dealing with emojis!