title: Remove the HTML "img src" tag from a string
body: <p>I am trying to remove the image src tag from a string. </p>
  
  <p>I have been following this past <a href="https://stackoverflow.com/questions/12496860/ios-strip-img-from-nsstring-a-html-string">question</a> on StackOverflow but it doesn't seem to be getting rid of the img src.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;img src="http://www.japanator.com/ul/33930-One Piece 696 cover 2.jpg
  </code></pre>
  
  <p>Into:</p>
  
  <pre><code>http://www.japanator.com/ul/33930-One Piece 696 cover 2.jpg
  </code></pre>
  
  <p>What my code outputs:</p>
  
  <pre><code>&lt;img src="http://www.japanator.com/ul/33930-One Piece 696 cover 2.jpg
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>var images = item.summary.imageLinksFromHTMLString.first
  var HTMLTagss: NSString = "&lt;img[^&gt;]*&gt;" //regex to remove img tag
  var stringWithoutImage: NSString = images!.stringByReplacingOccurrencesOfString(HTMLTagss as String, withString: "", options: nil,range:nil)
  println(stringWithoutImage)
  </code></pre>