There are a couple of different ways to remove HTML tags from an NSString in Cocoa.
One way is to render the string into an
use this
NSString *myregex = @"<[^>]*>"; //regex to remove any html tag
NSString *htmlString = @"bla bla";
NSString *stringWithoutHTML = [hstmString stringByReplacingOccurrencesOfRegex:myregex withString:@""];
don't forget to include this in your code : #import "RegexKitLite.h" here is the link to download this API : http://regexkit.sourceforge.net/#Downloads