> The dumbest question is the one you don't ask. Right? > > > I'm needing to clean up some html code that has {table} {tr} {td} {/table} {/tr} > {/td} in it. It's for a LOT of pages of a site that I've volunteered to help with. > I'm copying the pages from the internet archive, then pasting them in WordPress in > the 'visual' editor. > > > Would the only way to get rid of the table formatting (and that other stuff) be to > sift through all of it manually, highlight and delete? > > Or would it be possible to write a script that does all that? > > > Please pardon my naivety in this matter. > > { } I know, ;gt ;lt or whatever. You get the idea.
http://www.funduc.com/search_replace.htm
e.g. In search box: <table> Leave replace box blank
File mask: *.html
It will delete any instance of "<table>" in all html files. Then repeat for each tag you want to delete.
RELAX and just have fun. Remember, it's all about the games.
|