Delete all the digits from a string except some special ones that are folloed by given latter using re.sub() in python3

后端 未结 0 1054
囚心锁ツ
囚心锁ツ 2020-12-20 01:16

I know how to remove all digits from a string using re.sub(). But I don\'t know how to remove all digits from a string except some special ones.

For exam

相关标签:
回答
  • 消灭零回复
提交回复
热议问题