HTML Cleanup (delete tags and contents)
Submitted by Wednesday, 7 April, 2010 - 20:07
on
I am working on a project at my law school. I receive news articles in .docx format and then convert them to .html. This requires a lot of cleanup of the extra tags Word puts into the text. I have a very simple macro that does a find and replace to delete common unneccessary tags. What I want to do is the entire header tag and its contents (and other tags such as table tags).
I have no programming background and can't figure it out. How would I have a macro search for (head) and (/head) and then delete the tags and everything in between?
Thank you ahead of time for any insights you can give me,
Brian
I have no programming background and can't figure it out. How would I have a macro search for (head) and (/head) and then delete the tags and everything in between?
Thank you ahead of time for any insights you can give me,
Brian