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

Find All

This extremely powerful command locates all occurrences of a specified pattern. The Find Window is used to specify the pattern to search for, as well as a number of additional options.

Complexity: linear time (depends on the file's size and resulting number of non-contiguous matches).

Find All Results

The result of the Find All operation is a multiple selection, which describes all pattern occurrences. Selection Details window may be used to browse the results. In addition, a message window with a total number of occurrences found is displayed when searching finishes.

If the pattern has not been found in a file, a message is displayed.

Searching with Alignment

You may specify a positive alignment number for a Find All command. The operation will only match a pattern occurrence if its offset is aligned to a given number. By default, alignment equals to a current editor window's grouping mode.

Regular Expressions

The Find All command fully supports regular expressions. To search using regular expressions, select either “ASCII string (char[])” or “UNICODE string (wchar_t[])” pattern type, enter the regular expression, make sure the Regular expression checkbox is checked and enter the sub-expression number you want to search for. Sub-expression 0 represents the expression itself (AKA full match).

NOTE
  • Searching with regular expressions within a selection (either single-range, or multiple) is not supported.
  • Alignment always equals to 1 in regular expression mode.

Scripting

Scripts are provided with the following methods to execute the find operations: