Update on regexp

At this moment, the regexp does not match layout, there is a line break after </td>
I think ideally we which strip out all whitespace then do the regex or new an XML/DOM parse to navigate the tree instead.