title: How to remove anchor tags from soup Python
body: <p>I am using Beautiful Soup for reading HTML data. After reading it I want to remove some anchor tags. Here is my code:</p>
  
  <pre><code>import urllib
  from  bs4 import BeautifulSoup 
  
  url=raw_input("enter url:")
  html=urllib.urlopen(url).read()
  soup=BeautifulSoup(html)
  
  tags=soup('a')
  </code></pre>
  
  <p>Output of tags is in the form:</p>
  
  <pre><code> [&lt;a href="https://www.naukri.com/psu-government-jobs" target="_blank"          
    title="Govt. Jobs"&gt;Govt. Jobs&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/international-jobs" target="_blank"      
    title="International Jobs"&gt;International Jobs&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/top-company-jobs" target="_blank" 
   title="Jobs by Company"&gt;Jobs by Company&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/jobs-by-category" target="_blank" 
    title="Jobs by Category"&gt;Jobs by Category&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/top-jobs-by-designations" target="_blank"
   title="Jobs by Designation"&gt;Jobs by Designation&lt;/a&gt;,
    &lt;a target="_blank"&gt;Information&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/jobs-by-location" target="_blank"         
    title="Jobs by Location"&gt;Jobs by Location&lt;/a&gt;,
   &lt;a href="https://www.naukri.com/top-skill-jobs" target="_blank" 
   title="Jobs by Skill"&gt;Jobs by Skill&lt;/a&gt;]
  </code></pre>
  
  <p>I want to drop all the anchor tags which occurs after the tag </p>
  
  <pre><code>" &lt;a target="_blank"&gt;Information&lt;/a&gt;"
  </code></pre>
  
  <p>How I can do this??</p>