I'm not so acquainted with RegEx and I need to extract all information between <td> NEED HERE </td>
. But I just got to match the tag <td>
when it has CSS attributes. I need to skip them, both <table><tr><td>
with, or without attributes
<td[^>]*>
Example:
<table height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="4" class="cll">Hello</td>
<td class="tex" nowrap>Output Status</td><td width="4" class="clr">100%</td></tr></table>
Output Desired:
Hello, Output Status, 100%
In some cases,   will be between these tags and I'd like to skip them too.