User: editor -- 2010-07-17 << 566 568 >> |
Hits: 3703 |
Type: Search replace binary |
Search all Search replace binary examples |
Description: |
I noticed that some of my files have at the end added some bytes, they start with header: D0 CF 11 E0 A1 B1 1A E1 How could I delete everything starting with first such string till the end of the file in ~ 900 files? |
Input Sample: |
... ... D0 CF 11 E0 A1 B1 1A E1(binary bytes) ... |
Output Sample: |
... ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" menu 2. drag all the files you need to convert to "Batch Runner" window 3. click "Fast Replace" button open "Fast Replace" window * click "Add", enter following in "Search" entry: * enter nothing in "Replace" entry, and click "OK" * check option of "Regular Exp", "Cross Line", and "Binary File" 4. click "Start", done! |
Screenshot 1: Fast_Replace_Window |