I am looking for some help on creating a macro for cleaning up html code. I want to be able to change all the html code tags to lower case. example: <P>
Maybe somebody has one already that help clean up their code. I am trying to get the code as clean as possible for compliant issues.
I started my macro with this: (however there may be an easier way)
InsertMode
ColumnModeOff
HexOff
Top
Key Ctrl+HOME
Find "FONT"
Replace All "font"
Top
Key HOME
Find "H1"
Replace All "h1"
Top
Key HOME
Find "H2"
Replace All "h2"
Top
Key HOME
Find "H3"
Replace All "h3"
Top
Key HOME
Find "H4"
Replace All "h4"
Top
Key HOME
Find "<A>"
Replace All "<a>"
When I get down to the <a> it does not work so am thinking it needs a more specific command for the brackets.
Also, I want it to do a number of files open in Ultra Edit so I have included the "NextDocument" command at the end of the macro, but what else is needed for it to start over and do each page - a loop?
Thanks for any help you can offer.
Rox
Maybe somebody has one already that help clean up their code. I am trying to get the code as clean as possible for compliant issues.
I started my macro with this: (however there may be an easier way)
InsertMode
ColumnModeOff
HexOff
Top
Key Ctrl+HOME
Find "FONT"
Replace All "font"
Top
Key HOME
Find "H1"
Replace All "h1"
Top
Key HOME
Find "H2"
Replace All "h2"
Top
Key HOME
Find "H3"
Replace All "h3"
Top
Key HOME
Find "H4"
Replace All "h4"
Top
Key HOME
Find "<A>"
Replace All "<a>"
When I get down to the <a> it does not work so am thinking it needs a more specific command for the brackets.
Also, I want it to do a number of files open in Ultra Edit so I have included the "NextDocument" command at the end of the macro, but what else is needed for it to start over and do each page - a loop?
Thanks for any help you can offer.
Rox