in reply to Re^2: Regex For Removing Emoji
in thread Regex For Removing Emoji

Better dump the $text your application handles, before and after applying the regexes.

I suspect the data you are processing doesn't look like it is supposed to do. (Probably Html escaped)

Anyway, in general providing us with a complete test script showing input and output would help you and us.

Often errors are spotted by the authors when preparing a post like this.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Fwiw, for those interested the monastery transforms the provided emojis 🍷✨⛓ 🔪🐷 ⏳🎣 into 🍷✨⛓ 🔪🐷 ⏳🎣  within code blocks

Replies are listed 'Best First'.
Re^4: Regex For Removing Emoji
by Beaker (Beadle) on Nov 12, 2016 at 17:00 UTC
    Thanks, I didn't realise it was getting converted to decimal somewhere along the way. Sorted now.
Re^4: Regex For Removing Emoji (browser)
by tye (Sage) on Nov 14, 2016 at 20:05 UTC
    Fwiw, for those interested the monastery transforms the provided emojis [...] within code blocks

    Actually, it is your browser that is doing that (when you submit the form). Just FYI.

    - tye