Klaus

{Emoji_Presentation}

 Wed, 26 Aug 2020 21:09:57 +0200 
#^Match Emojis with Regular Expressions | David Walsh Blog
When experimenting with unicode property escapes, to identify accented letters in strings, it reminded me of a question I had a few years ago: what is the best way to identify and then replace emojis in a string?


#^https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt


.match(/(\p{Emoji_Presentation}|\p{Extended_Pictographic})/gu)