2

I'm not very good with regex and I could use some help. I'm trying to match all characters except the ones defined by those ranges (ranges that match most emoji). How would I negate the statement below?

var nonEmoji = new RegExp(/[\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]]*$/, 'i');
bobble bubble
  • 16,888
  • 3
  • 27
  • 46

0 Answers0