narasimman g

narasimman g

  • 1.6k
  • 160
  • 352.6k

Get HTML table data from a string

Jan 24 2016 2:13 AM
I have a string which I get from HTML page.
 
HTML page has multiple tables. I want to get the table I need
 
for example string value is
 
<table name =1>  </table>
adasdsad
<table name=2> </table>
<table name =3></table>
 
I want sub string of <table name=2><table>
 
I have done this finding the substring but is there any proper way to do this

Answers (4)