I have HTML in my database table which is of following Format
<img style='border-style: none' src='../Images/flag_Green.gif' onmouseover='ddrivetip("<table border=1 cellpadding=1 width=100%><tr><th nowrap width=20%>My Status</th><th>My Details</th></tr><tr><td>Green</td><td>Compliant - 06-0907370</td></tr></table>", 400, null, this);' onmouseout='hideddrivetip(this)'></img>
I need to extract colour value from this e.g. in this Case it's "green" Can anyone help me to write a function that can extract this? It's between first td tag