2021年1月2日星期六

How can I replace Unicode letter emojis with corresponding letter in JavaScript?

I have a string, for example: "🇦 c🇴ding question".

I want to replace the "🇦", "🇴", and all Unicode letter emojis for that matter into the corresponding letter like "a", "o", etc.

*Note: Unsure if this helps, but I believe the Unicode letter emojis are referred to as regional indicator symbols.

https://stackoverflow.com/questions/65546279/how-can-i-replace-unicode-letter-emojis-with-corresponding-letter-in-javascript January 03, 2021 at 11:04AM

没有评论:

发表评论