Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

emojibase-regex

5.0.0 • Public • Published

Emojibase Regex

Build Status npm version npm deps

Install the package.

yarn add emojibase-regex

Import and use the RegExp pattern.

import EMOJI_REGEX from 'emojibase-regex';
import EMOTICON_REGEX from 'emojibase-regex/emoticon';
import SHORTCODE_REGEX from 'emojibase-regex/shortcode';
import SHORTCODE_NATIVE_REGEX from 'emojibase-regex/shortcode-native';
 
`🏰`.match(EMOJI_REGEX);
':)'.match(EMOTICON_REGEX);
':castle:'.match(SHORTCODE_REGEX);
':гвинея:'.match(SHORTCODE_NATIVE_REGEX);

Documentation

https://emojibase.dev/docs/regex

Install

npm i emojibase-regex

DownloadsWeekly Downloads

2,790

Version

5.0.0

License

MIT

Unpacked Size

86.7 kB

Total Files

36

Last publish

Collaborators

  • avatar