Use the `re.sub()` method to remove the HTML tags from a string, ... result = re.sub(pattern, '', html_string) # Bobby # Hadz # Com print(result).
確定! 回上一頁