Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图从字符串中删除一些 unicode 字符 [E000-F8FF]。我该如何在 javascript 中执行此操作?例如,我希望从此字符串中删除 E018 :
IT 人群 </p>
str = str.replace(/[\uE000-\uF8FF]/g, '');
从萤火虫截取的屏幕截图: