我想知道如何从Python中的字符串中删除动态字.
它总是在单词的末尾有一个":",有时在字符串中有多个.我想删除所有出现的"word:".
谢谢!:-)
python regex
python ×1
regex ×1