How can i delete html attributes from tag ?

Input:

<table class="pixelBorderTable faqTable" width="100%" border="1" cellpadding="3" cellspacing="0">
    <tbody><tr>
            <td class="pixelBorderTableHeaderTd" valign="top" width="20%" bgcolor="#666666"><p>�</p></td>
            <td class="pixelBorderTableHeaderTd" valign="top" width="40%" align="center" bgcolor="#666666"><p><b>LCD</b></p></td>
    </tr></tbody>
</table>

Output should be:

<table>
    <tbody><tr>
            <td><p>�</p></td>
            <td>LCD</b></p></td>
    </tr></tbody>
</table>

Try:

perl -pe 's/(<\w+)[^>]*/\1/g' file