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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -