iphone - Get text between two tags and make another NSString from it -
i have html page html code (nsstring) this:
<html> <p> texta </p> <p> textb </p> </html> <a> textc </a>
and want text between tags
, make nsstring. expected result code is:
textatextb
thank much.
just search < sign, next > sign, , delete part. repeat until don't have signs left. replace regex <*> nothing.
Comments
Post a Comment