elfraga
asked on
Regular Expression - Get especific table
Hi PLEASE HELP ME!
I have a big code with a lot of tables that have tables inside!!
I want to get only the tables that have only five <td></td>
For example:
<table [something]>
<tr[something]>
<td [something]>[something]</t d>
<td [something]>[something]</t d>
<td [something]>[something]</t d>
<td [something]>[something]</t d>
<td [something]>[something]</t d>
</tr>
</table>
HELP ME PLEASE!
I have a big code with a lot of tables that have tables inside!!
I want to get only the tables that have only five <td></td>
For example:
<table [something]>
<tr[something]>
<td [something]>[something]</t
<td [something]>[something]</t
<td [something]>[something]</t
<td [something]>[something]</t
<td [something]>[something]</t
</tr>
</table>
HELP ME PLEASE!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
because
this
\<tr[^\<tr]+\<td[^\<tr]+\<
doesnt works, it find extrange things.