Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

Pattern Window

The pattern window is used throughout the Hex Editor Neo to specify patterns to fill, insert, find, replace and so on.

Pattern Window

The Type selector with Size selector let you specify the type of pattern you are going to enter:

String (Current Encoding)A pattern is specified as a single-byte text string. Current window's encoding is used.N/AN/AN/A
UNICODE StringN/AA pattern is specified as a single-byte text string. Current window's encoding is used.N/AN/A
Hex8-bit hexadecimal values16-bit hexadecimal values32-bit hexadecimal values64-bit hexadecimal values
Decimal8-bit decimal values16-bit decimal values32-bit decimal values64-bit decimal values
Octal8-bit octal values16-bit octal values32-bit octal values64-bit octal values
Binary8-bit binary values16-bit binary values32-bit binary values64-bit binary values
FloatN/AN/AA pattern consists of single-precision floating-point values (encoded according to IEEE 754 standard).N/A
DoubleN/AN/AN/AA pattern consists of double-precision floating-point values (encoded according to IEEE 754 standard).

All pattern types except for String and UNICODE strings are entered using standard editor window, which is part of the pattern window. Keyboard navigation, selection and data modification operate exactly the same. A shorter version of shortcut menu is also provided for the window.

When in String or UNICODE string mode, you can select one of the previous strings by pressing the down-arrow combo-box button. For other types, Recent Patterns… button is used to access recent patterns or clear the current pattern.

Every window that contains a pattern window is resizable. You can change its size and it will be restored next time you open the same window. Each window also stores its own list of recent patterns and strings.

Byte Order

Byte order in the pattern dialog automatically matches the one in the current editor window. Commands in the shortcut menu let you change the byte order.

Regular Expressions

Several editor commands allow the regular expressions to be entered in “ASCII string” and “UNICODE string” modes. In this case, the Regular Expression checkbox and Sub-match field appear. Sub-match field allows you to specify whether you want to match the entire expression (sub-match = 0), or sub-expression (sub-match > 0).

When regular expressions are used in single byte string mode, system default encoding is used.


Patterns are represented by objects with IPattern interfaces in the scripting. Use one of the createPattern methods to create various patterns in scripts.