使用后删除单引号re.sub公司()在python中在用字符“^”替换字符串中的所有单词字符后,使用re.sub("\w", "^" , stringorphrase)我剩下的是: >>> '^^^ ^^ ^^^^' 有没有办法去掉 ...2024-04-29 已阅读: n次