Closed eklem closed 2 years ago
Emojis are a bit more complicated to recognzie with regex.
Have to wait for RGI_Emoji unicode property escapes, \p{RGI_Emoji}, lands in JavaScript.
\p{RGI_Emoji}
Or use something like emoji_regex.
Or try this regex? https://unicode.org/reports/tr51/#EBNF_and_Regex
Try rgi-emoji-regex-pattern as pattern for recognizing all unicode emojis.
Still missing 200 or so emojis, but good enough for now.
Emojis are a bit more complicated to recognzie with regex.
Have to wait for RGI_Emoji unicode property escapes,
\p{RGI_Emoji}
, lands in JavaScript.Or use something like emoji_regex.