You have two possibilities:
1.) Use
Search -
Replace In Files
The first one I have used a few days ago also for exactly what do want to do - remove HTML tags from all HTML files in a directory and it's subdirectories.
Open one of the HTML files and try the first replace on the single file with normal replace command. If it works as you expect, execute it with the
Replace In Files command on all other files. Uncheck
List Changed Files for maximum speed. If you need further replaces, redo this procedure until all HTML tags were removed on all files.
2.) Macro which opens one file after the other
The second method is, to record all replaces on a single file. Then create a file, which contains one file name with full path per line. Only this list file is opened and the cursor is at the top of the file. Next modify the recorded macro to do following:
- Select current line,
- copy it to the clipboard,
- go to beginning of next line,
- open file with name from clipboard contents,
- execute the replaces you recorded,
- save the file and close it.
- If not end of list file reached, redo all these commands.
This method has one big disadvantage: it is extremely slow on 60.000 files.
Quick and dirty:
A
Replace In Files with regular UltraEdit find string <*> normally is enough to remove all HTML tags, if no HTML tag is spread over more than one line. A second search for two spaces (or tabs) and replace with one space then removes the indent spaces on each line. Very dirty of course, but enough for my need a few days ago.