To replace a string in Python using regex(regular expression), use the re.sub() method. To use regex in Python, import the re module.
確定! 回上一頁