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 |