<div dir="ltr"> TEXT TO EXTRACT </div>
<div dir="ltr"> TEXT & MORE TEXT"TEXT" TEXT</div>
Above are examples of the HTML I wish to extract the text into an NSString, ignoring the div wrapper and any other ‘stuff’ – Some have <BR> included and some have ISO codes (can’t remember exact name for these e.g &)
many thanks
Nik
I ended up using this catagory:
https://github.com/mwaterfall/MWFeedParser/blob/master/Classes/NSString+HTML.m
works great.