在python中,如何向regex函数添加特殊情况?例如,假设我想从字符串中删除以下字符串: remove = ['\\u266a','\\n'] 我有这样的正则表达式: string = re.sub('[^A-Za-z0-9]+', '', st ...2024-06-16 已阅读: n次