input:     def html_to_text(html_string: str) -> str:
          """ Converts HTML to plain text by removing all HTML tags.
          >>> html_to_text('<h1>Hello, World!</h1>')
          'Hello, World!'
          >>> html_to_text('<p>Some <b>bold</b> text.</p>')
          'Some bold text.'
          """
output:     import re
      return re.sub(r'<[^>]+>', '', html_string)