Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

200.Advanced search and replace -- Is it possible to convert all the hexadecimal figures in a file to plain readable code?

User: Michele di Pisa -- 2008-06-23          << 199  201 >>
Hits: 3933
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
I have found your program just this morning through Google and will install it later. 
I need to convert all the hexadecimal figures in plain readable code numbers and put before these numbers a carriage return character. The end of each record string is marked by a NULL character. 
Is it possible? If yes, as I understand, how to do? Thanks in advance.
Input Sample:
   /acetate$643$ /silk$75206$   ,/acetic$646$ /acid$741$   ./acetylene$685$ /burner$10282$   ?/acetylene$685$ /gas$30965$   @/acetylene$685$ /welding
Output Sample:
1304/acetate$643$ /silk$75206$ 
1324/acetic$646$ /acid$741$ 
1326/acetylene$685$ /burner$10282$ 
1343/acetylene$685$ /gas$30965$ 
1344/acetylene$685$ /welding$93651$ 
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
In fact, your request is to handle a file not only contain plain text, but also contain binary data.  
 
Since version 2.2, replace pioneer can handle binary file. 
 
Procedures: 
 
Assume you need to convert each "NULL + BYTE1 + BYTE2 + BYTE3 + BYTE4" into  
"<Return> + readable ascii code" like 1304. 
 
1. open Tools->Batch Runner menu 
2. click "pick files" button to pick files for processing 
3. change "set output filename" to new name like  
4. click "Fast Replace" 
* click "Add" button, and fill "search" window like: 
 
* fill "replace" window like: 
 
* click "ok" 
5. Make sure option "Regular Exp" and "Binary file" are selected. 
6. Click "Start", done!  

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to convert list of hexadecimal  to binary ? (54%)
How to convert the text from hex to decimal in a file? (53%)
How to convert the text from decimal to hex in a file? (51%)
Is it possible to extract all email addresses from web pages like forum? (49%)
How to change all the letters in a text file to upper cases? (48%)
How to convert all numbers from decimal to percentage? (47%)
How to decode all utf-8 encoded url address into readable text? (47%)
How to replace all the password field in text file with random chars? (47%)

Check Demo of Advanced search and replace
Keywords:
carriage return  carriage  null  arriage return  nul  google  asci  ascii  hexadecimal  hexa  hexadecimal into binary  replace carriage return  replace pioneer carriage return  convert binary data to text  search for binary character in text file  binary character search replace  pioneer ascii  how to search for ascii text in binary files