Example 1: replace number with string python x = re.sub(r"\d+", "NUMB", str(x)) #Replaces digits with 'NUMB' Example 2: python string replace letters with ...
確定! 回上一頁