mathiasbynens/emoji-regex
A regular expression to match all Emoji-only symbols as per the Unicode Standard. observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 46
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4357
- days_rel: n/a
- days_push: 324
- n_releases_24m: 0
Adoption not part of the score
1909 stars · 171 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
emoji-regex is a JavaScript library that provides a regular expression to match all emoji symbols and sequences as per the Unicode Standard. It is generated from Unicode data at build time, making it easy to update whenever new emoji are added to Unicode.
Use cases
- match all emoji in a string
- find emoji symbols in user input
- replace emoji with images in text
- validate that a string contains only emoji
- count emoji occurrences in text
- strip emoji from text content
- detect emoji sequences including modifiers and ZWJ
When to choose
- you need a standards-compliant, deterministic emoji matcher tied to a specific Unicode version
- you need to guarantee an image asset exists for every possibly matched emoji
- you want a well-maintained library that tracks new Unicode emoji releases
When to avoid
- you need a lighter-weight, non-deterministic general emoji pattern (consider emoji-regex-xs instead)
- you need emoji matching in a non-JavaScript language
- you need emoji rendering or image assets, not just matching
Facets
library · maturity stable
parser nlp developer-tools text-editors developer-tools cross-platform emoji regex unicode text-processing natural-language-processing nodejs javascript
3 sources
- readme: https://github.com/mathiasbynens/emoji-regex · fetched 2026-08-28 · c00328caf179
- homepage: https://mths.be/emoji-regex · fetched 2026-08-29 · 15cdce292c50
- registry_npm: https://registry.npmjs.org/emoji-regex · fetched 2026-08-29 · d06d87077b54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mathiasbynens/emoji-regex | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="mathiasbynens/emoji-regex")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem