【发布时间】:2018-09-22 00:40:18
【问题描述】:
如何使用 javascript 从字符串中删除 :smile: style emjois 的所有实例?下面是我在 JSON 中获得的一个示例,其中包含 :point_right:。我很想从一个字符串中删除所有这些。
[ { service_name: 'Instagram',
title: 'Instagram: “:point_right: Real people, making real products from real plants, using their actual hands to put them in boxes that show up on your doorstep.…”',
text: '36 Likes, 2 Comments - “:point_right: Real people, making real products',
ts: '1523497358.000299' }
【问题讨论】:
标签: javascript json regex string emoji