hi, i think it is a simple question but i dont know how to solve it.
i have a NSString that containes html content.
i want to extract some tags.
NSString *string=@"test some text <img src='http://www.xyz.com/a.jpg' > blah blah <a href='asdfg'>aaaa</a> bbbb cccc";
i want to take img & "a" tag into new string. then i will display it in UIWebView.
how can i parse it?