Need help removing HTML image tags

Discussion in 'iOS Programming' started by ChrisJW, Aug 21, 2008.

  1. macrumors newbie

    Joined:
    Aug 14, 2008
    #1
    Hi, I am pulling info from an RSS feed and I'm getting the text that I need but this is also included with it: <img URL />. I want to remove the URL and the two tags. What's the best way of doing this?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Use regular expressions. Search around, there are a few existing Cocoa classes for doing this.
     

Share This Page