Sed query replacing html tag




we do have one file, which is having only 1 line. of 14M :)

Its having some stuff, html table with lot of <tr> some data </tr>
and <td> some data </td>

now we want to

replace <tr> with blank
replace </tr> with new line (\n).

replace <td> with blank
replace </td> with tab(\t)

any idea which one is better tool sed/awk/perl ? how to ?



Tnx
raxit

.