๐unicodeEmoji
unicodeEmoji(emoji: string): {
include: boolean,
matchs: RegExpMatchArray | null,
groups: Array<null>
}const { global } = require('regex-simplify');
const emoji = global.unicodeEmoji(`
๐
test
:u200b:
๐ฎ
`);
console.log(emoji);{
include: true,
matchs: [ '๐', '๐ฎ' ],
groups: [ null, null ]
}Last updated