Hex Editor
Hex Editor - Binary File Editing Software for Windows

Replace Pattern Syntax

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >

Hex Editor Neo allows you to use special characters in replace pattern when performing commands Replace and Replace All with regular expressions.

The main advantage of using regular expressions during pattern matching operations is the ability to match different patterns with a single expression. This function natively is cooperated with an ability to refer to matched pattern in replace pattern. Hex Editor Neo allows you to perform such referrals.

All characters in a replace pattern are treated "as is", except for the following character combinations:

Combination Description
$& Refers to the whole matched expression.
$n Where n is [1..9]: Refers to numbered sub-expression of matched expression.
$$ Means a single '$' character.
\xnn Where n is [0..9 or a..f or A..F]: A single hexadecimal code byte. Can be used only if performing search/replace in single-byte string mode (ASCII or encoded).
\xnnnn Where n is [0..9 or a..f or A..F]: A single hexadecimal code word. Can be used only if performing search/replace in UNICODE mode.
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.