title: Python: Remove HTML Tags & text inbetween HTML Tags
body: <p>I'm trying to remove HTML tags (Python 3) but also trying to remove the text in between them. My below code snippet doesn't seem to give me the result I'm looking for and all the other questions I've found on SO seem to only look at removing the HTML tags but preserving the text inside the HTML tag which is not what I'm trying to do.</p>
  
  <p><strong>Current Code</strong></p>
  
  <pre><code>import re
  ...
  price="12.00 &lt;b&gt;17.50&lt;/b&gt;"
  price=re.sub('&lt;[^&gt;]*&gt;', '', price)
  </code></pre>
  
  <p><strong>String</strong></p>
  
  <pre><code>12.00 &lt;b&gt;17.50&lt;/b&gt;
  </code></pre>
  
  <p><strong>Expected Outcome</strong></p>
  
  <pre><code>12.00
  </code></pre>
  
  <p><strong>Current Outcome</strong></p>
  
  <pre><code>12.00 17.50
  </code></pre>