摘要: import re text = "Hello, world! This is a \"small\" example. Can you handle it?" pattern = r'[,.!"\']' result = re.sub(pattern, ' ', text) print(resul 阅读全文
posted @ 2023-12-28 14:18 myrj 阅读(25) 评论(0) 推荐(0) 编辑