Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
195
const
emojiRegex =
new
RegExp(emojiPattern,
'gu'
);
196
197
export
const
stripEmojis = (value: string): string =>
198
value.replace(standaloneEmojiRegex,
'$1'
).replace(emojiRegex,
''
);
Callers
2
strings.spec.ts
File · 0.90
stripEmojisFromInput
Function · 0.90
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected