Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

108.Advanced search and replace -- How to remove/delete text after </html> in many html files?

User: editor -- 2008-05-15          << 107  109 >>
Hits: 1823
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
My html files are infected and there are many code added after </html> tag of each file, how to batch remove these code?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1.press ctrl-o to open source file    
2.press ctrl-h to open replace dialog, set as follows:    
In 'Replace' page: 
* Fill 'Search for pattern' to be:  
 
* Fill 'Replace with pattern' to be:  

3. click 'Replace' Button, ok  
If need process many files, user can click 'Batch..' in step 3, to open 'Batch Runner', and click 'Pick Files' to select multiple files, and click 'Batch Replace' to finish the operation.
Download Script:  scripts/108.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to batch remove/delete first and last line of many text files? (67%)
How to remove/delete first column for multiple files? (64%)
How to batch remove/delete the last 6 characters of many filenames? (64%)
How to batch remove/delete first 8 lines of many files? (64%)
How to batch remove/delete the 5,6,7 characters of many filenames? (63%)
How do I replace all the tags <hr /> in many html files? (62%)
How to replace non-fixed text pattern in a html file? (62%)
How to extract text after last comma in a string in htmlx file? (61%)

Check Demo of Advanced search and replace
Keywords:
delete text after  html tag  many html files  user  process  tag  code  operation  after  delete text  remove html tag  remove after html  open source batch html to text  remove text after  batch text operation  batch file text operation  batch text file operation  remove after