登 录
#正则表达式替换,最多一次,忽略大小写
def StringRegexReplace(pattern,repl,string): import re return re.sub(pattern, repl, string, count=1, flags=re.I)
抱歉!评论已关闭.