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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -