title: python - remove text that is inside certain tag
body: <p>I have a string with "code" tags in it and I want to remove these tags and everything inside these tags.  For example,</p>
  
  <pre><code>"hello how are &lt;code&gt;this is my code&lt;/code&gt; you"
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>"hello how are you"
  </code></pre>
  
  <p>I am pretty sure that BeautifulSoup is the right tool for the job, however I have looked at the documentation and I cannot figure out how to do this.</p>
  
  <p>Thanks</p>