I am scraping a site and I found this
<table>
<tr>
<td>
<b>Status:</b>ACTIVE;
<b>Type:</b>CN - CONSTRUCTION
<b>Added:</b>02/24/2012
</td>
</tr>
</table>
How do I get status, type, and added individually?
I know I will get downvotes because I am not posting any TRIED CODE... but I cant even seem to think what to try!
This website has POOR HTML structure and I cant seem to find any way.
innerHtmlnow split this string by<b>you will end up withStatus:</b>ACTIVE;as 0 index andType:</b>CN - CONSTRUCTIONas index 1 etc.. now go ahead and split each one of this by</b>and now from the result the string at index 1 must be your required value</b>and<b>.. this will give you array of matches and all of them are the required data