Replace (command Search/Replace)
Translhextion can find text and binary values in a file and
replace them with other text and binary values you specify. In
the Replace dialog you can choose if the case of the text parts
of the find string are to be ignored and the find/replace
direction. To encode binary values, Translhextion uses a special
byte-code syntax developed by Raihan Kibria.
In addition to replacing individual values, you can replace all
occurrences prior to or following the current selection by
choosing the appropriate button under "Replace all..."
Example:
Here is the find string.<bd:0>FloatValue<fl:-14.56>
This will cause Translhextion to search for a string "Here
is the find string." followed by a zero-byte, then the text
"FloatValue" and a 4-byte float with the value -14.56.
Note that coded binary values will also be transformed by the
"match case" option of the Find command, so if you
search for a byte with the hex value of 0x41 (this is the upper-case
letter "A") with the match-case option disabled, then
Translhextion will also find bytes with the hex value 0x61 (the
lower-case letter "a"). Therefore you should always
search for discrete binary values with case-matching enabled or
you might not get correct results.
This example applies to the replace string as well.
Please see Using the special syntax for further information.