Hex Editor
Hex Editor - Binary File Editing Software for Windows

Find in Files Overview

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

Find in Files and Replace in Files are the two powerful Hex Editor Neo commands that allow you to perform batch find and replace operations. They can be instructed to operate on all files in a folder or the whole folder tree.

The Find in Files Dialog is used to enter the find and/or replace patterns and specify the list of folders to search in. You can also narrow the search by entering the mask (for example, "*.txt") to search only in files that match the mask. Several masks may be specified (separate them with a semicolon). Below is an example that can be used to search within C/C++ source files:

*.c;*.cpp;*.cxx;*.cc;*.h;*.hpp;*.hxx;*.idl

All matched documents are displayed in the Find in Files Tool Window. In several operation modes, matched files are immediately opened in the editor, in others, you may open them by double-clicking on the file's item in a result list.

Scalability

The implementation of Find in Files and Replace in Files commands scales well, that is, it works faster on multi-core or multi-processor computers. Several dedicated threads of execution are launched on such computers and perform searching and replacing in parallel.

Note that the real performance boost is achieved only if you have a fast disk system or access files over a fast network connection.

Safety

Replace in Files function, operating in Replace all occurrences and save mode may potentially be harmful to your data. Hex Editor Neo automatically detects if you are trying to execute this operation and have "Always create backups" option turned off. It then warns you about the possible data loses and offers several actions to continue:

  • Hex Editor Neo offers you to enable the "Always create backups" option and continue the operation.
  • It also offers you to switch to safer Replace all occurrences and open mode, in which all modifications are stored in memory and you decide when and whether to save them.
  • It then offers you to continue the operation, if you understand its consequences.
  • And finally, it offers you to cancel operation.

If you have "Always create backup" option turned on, then each modified file is first backed up before modification.

Regular Expressions

Both Find in Files and Replace in Files functions fully support regular expressions.

< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.