I have a HTML page with lot of tags like this
<tr>
<td> a </td>
</tr>
<tr>
<td> a </td>
</tr>
<tr>
<td> a </td>
</tr>
I need to grep all these blocks alone leaving all other content (like general text).
I saw some other post on pcregrep, but it was not clear to me.
Can somebody help me with grep (or any other solution) ?