> For the complete documentation index, see [llms.txt](https://regex-simplify.lacostar.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://regex-simplify.lacostar.fr/docs/global/unicodeemoji.md).

# unicodeEmoji

{% tabs %}
{% tab title="Function types" %}

<pre class="language-typescript"><code class="lang-typescript"><strong>unicodeEmoji(emoji: string): { 
</strong>    include: boolean, 
    matchs: RegExpMatchArray | null, 
    groups: Array&#x3C;null>
}
</code></pre>

{% endtab %}

{% tab title="Code example" %}
**Search unicode emoji in a string:**

```javascript
const { global } = require('regex-simplify');

const emoji = global.unicodeEmoji(`
    😁
    test
    :u200b:
    🌮
`);

console.log(emoji);
```

{% endtab %}

{% tab title="Function return" %}
**And here what return the function:**

```javascript
{ 
    include: true, 
    matchs: [ '😁', '🌮' ], 
    groups: [ null, null ] 
}
```

{% endtab %}
{% endtabs %}
