MCPcopy Create free account
hub / github.com/dailydotdev/apps / stripEmojis

Function stripEmojis

packages/shared/src/lib/strings.ts:197–198  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

195const emojiRegex = new RegExp(emojiPattern, 'gu');
196
197export const stripEmojis = (value: string): string =>
198 value.replace(standaloneEmojiRegex, '$1').replace(emojiRegex, '');

Callers 2

strings.spec.tsFile · 0.90
stripEmojisFromInputFunction · 0.90

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected