Page 1 of 1

How do I search/replace hexadecimal values ?

Posted: Thu Nov 02, 2006 5:47 pm
by pstein
Is it possible to search and replace hexadecimal values in files ?

I want e.g. to replace the pattern




How do I specify the search and replace string in the entry fields ?

Posted: Thu Nov 02, 2006 9:05 pm
by Abacre
You can use regular expressions for that purpose.

Posted: Fri Nov 03, 2006 9:30 am
by pstein
How would such an regular expression look like ?

Posted: Fri Nov 03, 2006 2:44 pm
by Abacre
Read the syntax of regular expressions:

For your example:
Go to Batch replace tab, check on "Use regular expressions".
Put into the grid, search for:

Replace with:

Posted: Sat Nov 04, 2006 10:56 am
by pstein
Can I use regular expressions in "find" and "replace" as well (or only in batch replace)?

I did not see a "regular expression" option on the "find" and the (pure) "replace" tab.

Do I have to select "Native" or "Phrase" instead ?

Posted: Sat Nov 04, 2006 11:15 am
by Abacre
In current version the regular expressions are supported on Batch
replace tab. If you want to find with regular expressions: use Batch
replace with Just Find option.