The FuzRegex Utility is Here!
Features: Finding Text
- Quickly search files for any phrase.
Example files: *.pas|*.dfm|*.inc
- Search through nested subfolders if you want to.
Example folder(s): c:\transfer\<+>
- Search any arbitrary group of folders.
Example folders: c:\transfer\<+>|d:\transfer\<+>
- Search for a simple text phrase or a complex expression. ** Perl Regular Expression syntax is supported **
- Double-click any found item to launch editor, so that you can review the section in context and make any changes you want.
- Search web traffic logs (IIS logs) to find hits on port 80
by a single surfer on ip #220.127.116.11 and
highlight the session number. Regex capture group 1 holds the session number (assuming that is in your log file).
Find: session=(*) 80 - 76\.102\.23\.2
Features: Replacing Text Automatically
- Quickly replace all matches with replacement text
- The replacement text can be defined by a regular expression
- By default, original files are untouched and modified files are saved in a subfolder -- for safety
- Advanced users can replace files "in situ" -- which is safe as long as you have a backup elsewhere
Features: Total Automation
- Both FINDING and REPLACING can be SCRIPTED for 100% repeatable results.
- Each script can run against a target root folder, for optimal re-usability on multiple projects.
- Share scripts with other FuzRegex users
- Any version of 32- or 64-bit Windows supported by Microsoft
- 128MB RAM
- less than 1MB disk space for installation
- Any File Editor such as TED Notepad (download (donation)) or
EditPad Pro (download ($50))
which can take command line parameters for positioning the cursor at a byte location and for selecting a section of text. Configuration
notes for TED Notepad and EditPad Pro are given below.
(Note: A new WebHub Components license from HREF Tools includes an EditPad Pro license as of October 2014.)
A copy of FuzRegex is available: FuzRegex_v18.104.22.168_Setup.exe and the latest changes are documented here.
FuzRegex will automatically run in "Lite" mode, unless you put in some license details.
For a free evaluation license, use online code generator.
Sample Scripts for WebHub Users
Example Preferences for use with TED Notepad
FuzRegex works with Windows Notepad by default, which is not ideal because the cursor always starts at the beginning of the Notepad file. You can improve this by connecting FuzRegex to another ascii file editor. Choose one for which you know the command line syntax for positioning the cursor at a particular point in the file.
Below is a screenshot to show how FuzRegex can be connected to TED Notepad. Of course, you will probably need to substitute your own folder details instead of d:\Apps\, etc.
Here is the exact syntax used for the TED Notepad command line (so you can copy and paste it quickly):
The special tokens that you may use are as follows; note that all these values are calculated by FuzRegex and PASSED TO your editor.
- CursorAt: the byte position within the file at which the cursor should be positioned (overall count of characters into the file)
- LineNumber: the line number within the file, of the beginning of the selection
- Column: the column number within the line, of the beginning of the selection
- StartSel: the byte position for the beginning of the text to be selected within the editor
- EndSel: the byte position for the end of the text to be selected
- Filename: the full path and filename of the file to be edited
In FuzRegex, go into File > Preferences to set these details.
Here is the exact syntax used for integration with EditPad Pro:
Delphi DFM Converter
For programmers using Borland Delphi, a DFM Converter is available to help you convert old binary-format DFM files to plain-text so that you can run search & replace tools such
as FuzRegex on them. DFMConverter at Code Central