title: Removing html image tags and everything in between from a string
body: <p>I've seen a number of questions about removing HTML tags from strings, but I'm still a bit unclear on how my specific case should be handled.</p>
  
  <p>I've seen that many posts advise against using regular expressions to handle HTML, but I suspect my case may warrant judicious circumvention of this rule.</p>
  
  <p>I'm trying to parse PDF files and I've successfully managed to convert each page from my sample PDF file into a string of UTF-32 text.  When images appear, an HTML-style tag is inserted which contains the name and location of the image (which is saved elsewhere).</p>
  
  <p>In a separate portion of my app, I need to get rid of these image tags.  Because we're <em>only</em> dealing with image tags, I suspect the use of a regex may be warranted.</p>
  
  <p>My question is twofold:</p>
  
  <ol>
  <li>Should I use a regex to remove these tags, or should I still use an HTML parsing module such as BeautifulSoup?</li>
  <li>Which regex or BeautifulSoup construct should I use?  In other words, how should I code this?</li>
  </ol>
  
  <p>For clarity, the tags are structured as <code>&lt;img src="/path/to/file"/&gt;</code></p>
  
  <p>Thanks!</p>