Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

595.Search replace binary -- How to find bytes 0xAB**CD and replace with 0xCD**AB in multiple binary files?

User: editor -- 2010-08-23          << 594  596 >>
Hits: 2010
Type: Search replace binary   
Search all Search replace binary examples
Description:
How to find bytes 0xAB**CD and replace with 0xCD**AB in multiple binary files?
Input Sample:
binary files with bytes 0xAB**CD, ** means any 2 bytes.
Output Sample:
replace them with 0xCD**AB, do not change ** bytes.
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 multiple binary files from "windows file browser" to "batch runner" window
3. click "fast replace" button, open "fast replace" window:
* click "add", in "search" entry fill:

* in "replace" entry fill:

* click "ok"
* make sure option: "regular exp", "cross line", "binary" are enabled.
4. click "start", done!

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to find and replace multiple line text? (61%)
How to delete all lines with column B greater than 90 in multiple csv files? (53%)
How to find out the maximum value in each line for multiple csv file? (52%)
How to search and replace strings in multiple utf-8 encoded text files? (51%)
How to search and replace in multiple files base on user-defined mapping file? (51%)
How to replace a word only one time in multiple text files? (50%)
How to replace text files using multiple pre-defined rules? (49%)
How can I search and replace multiple strings in multiple files all at once? (49%)

Check Demo of Search replace binary
Keywords:
how to find bytes  0xab  find bytes  abcd  search replace binary  abc  led  replace binary  bytes  binary file  find and replace bytes  find replace batch binary files  find and replace in binary file batch  find and replace binary files  find replace binary files  batch find replace binary file  batch find bytes in binary file  binary find replace