title: HTML Parsing issue with BeautifulSoup Library
body: <p>I am working with the BS library for HTML parsing. My task is to remove everything between the head tags. So if i have <code>&lt;head&gt; A lot of Crap! &lt;/head&gt;</code> then the result should be <code>&lt;head&gt;&lt;/head&gt;</code>. This is the code for it</p>
  
  <pre><code>raw_html = "entire_web_document_as_string"
  soup = BeautifulSoup(raw_html)
  head = soup.head
  head.unwrap()
  print(head)
  </code></pre>
  
  <p>And this works fine. But i want that  these changes should take place in the <code>raw_html</code> string that contains the entire html document. How do reflect these commands in the original string and not only in the <code>head</code> string? Can you share a code snippet for doing it?</p>