Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

702.Search replace binary -- How to remove the 120 bytes that followed by ABC in binary files?

User: editor -- 2011-01-20          << 701  703 >>
Hits: 391
Type: Search replace binary   
Search all Search replace binary examples
Description:
How to remove the 120 bytes that followed by ABC in binary files?
Input Sample:
input binary file:
...............ABC*********(ABC+120bytes)......
..................................
..................................
Output Sample:
output binary file:
...............(123 bytes removed here)......
..................................
..................................
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open 'Tools->Batch Runner' window
2. drag one or more binary files from windows to 'batch runner' window
3. click 'Fast Replace' button.
4. click 'Add' to add new replace rules:
* in 'search', enter:

* in 'replace', enter nothing
* click 'ok'
5. make sure 'regular exp' and 'cross line' and 'binary file' options are selected, then click 'Start', done!

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to remove the timestamps at the start of line in lrc files? (61%)
How to batch remove/delete first 500 bytes of many binary files? (60%)
How to remove all the lines that with odd line number for multiple files? (59%)
How to remove around 1/2 lines randomly from a large text files? (58%)
How to batch remove all the text that enclosed by a pair of parenthesis? (57%)
How to remove all lines that contain ABC but not contain DEF in text file? (55%)
How to remove all question mark that enclosed by title tags? (55%)
How to count the occurrance of each bytes from 00-FF in a binary file? (55%)

Check Demo of Search replace binary
Keywords:
120 bytes  abc in binary  abc  search replace binary  replace binary  rules  bytes  binary fil  binary file  in binary  batch remove bytes from files  remove bytes from binary file batch  batch remove bytes from file  windows remove bytes from binary file  batch remove bytes  batch bytes from binary  windows binary replace regular  search replace binary windows