I’ve got some HTML coming in that contains some ` <DIV>
tags. I would like to remove these <DIV>
tags from the HTML, but the problem is that some of the <DIV>
tags have classes or ids defined in them. I can replace the <DIV` portion of the tag, but since there is no wildcard allowed, I don’t know how to get rid of all these tags.
Basically what I would like to do: ` mystring = [mystring stringByReplacingOccurrencesOfString:@”<div*>” withString:@””]; `
Any ideas would be great.