import re
pattern = re.compile(u'[\uD800-\uDBFF][\uDC00-\uDFFF]')
pattern.sub('',text) 

 

相关文章:

  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-06-02
  • 2022-12-23
  • 2022-03-02
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-06-11
  • 2021-09-20
  • 2021-11-26
  • 2022-01-21
相关资源
相似解决方案