Remove all attributes from HTML [closed]

-1

I have a file of approximately 60000 lines and I need to remove all attributes from the HTML file.

Do you know the name of any application, notepad plugin, or any way to automate this process? Thank you!

Exemplo:
<td height="20" align="left"><font color="#000000">Abono</font></td>

COMO DEVERIA FICAR:
<td >Abono</td>
    
asked by anonymous 28.09.2018 / 13:14

1 answer

1

Use this regular expression

<.*?>|</.*?>

And replace with "nothing" Same in the image below Press ctrl + f to open the dialog

Note:Remembertocheckthe"regular expression" field below

Edit 1 * As you entered in the comment to remove the tag attributes Use the

<([a-z]+) .*?=".*?( *\/?>)

and replace with

<$2

Seeitworking here

Note that if you are using single quotation marks ' it substitutes regex in double quotation marks

  

Fonts    link

    
28.09.2018 / 13:20