从字符串中删除不在引号内的数字?

时间:2019-07-18 08:35:12

标签: python regex

如何使用python re模块从不在引号内的字符串中删除数字?

例如,字符串'2 persons goes to watch "Adam 2".'应该变成'persons goes to watch "Adam 2".'

0 个答案:

没有答案