我需要在xcode中解析html文件 sample.html:
<tr><td>Surname</td><td>name1</td><td>address1</td></tr>
<tr><td>Surname</td><td>name2</td><td>address2</td></tr>
<tr><td>Surname2</td><td>name3</td><td>address3</td></tr>
<tr><td>Surname2</td><td>name4</td><td>address4</td></tr>
在我的app用户中将输入姓氏和姓名,结果将是地址
我需要从"<tr> <td>Surname</td><td>name1</td>"
进行搜索,然后在"</tr>"
结束
结果将是<tr> <td>Surname</td><td>name1</td><td>address1</td></tr>