Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ChrisJW

macrumors newbie
Original poster
Aug 14, 2008
1
0
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?
 
Use regular expressions. Search around, there are a few existing Cocoa classes for doing this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.