Python 中的正規表示式方面的功能,很強大。 其中就包括re.sub,實現正則的替換。 ... re.sub(pattern, repl, string, count=0, flags=0).
確定! 回上一頁