Copyright: Funduc Software, Inc. Help Ver 2.87C
Citation: Search & Replace for Win 3x 95/NT, Funduc Software, Inc. (www.funduc.com)


Search and Replace Help Contents
      Search and Replace for Windows Help Contents - Version 2.87

                         Copyright 1995-1997 Funduc Software Inc.

Search and Replace for Windows 3.1, 95, NT is a search (grep) utility you can use to find a given string in multiple files, including files inside of ZIP archives. The registered version allows you to replace some, all, or none of the strings with another string. In the shareware version, you can only replace in the first file in each session. A "touch" button allows you to change the date and time of the files you specify. The Search Results list allows you to view the file using the associated viewer or the context of the line where the string was found (see Search and Replace Main Window). Regular Expressions, which include incrementing numeric counter operations, are supported for both Search and Replace. You can create Scripts to process multiple Search/Replace strings, multiple paths, and/or file masks. For operations across multiple lines or Using Special Characters, see the Binary Mode dialog (the [image] buttons next to the Search and Replace fields).

Product Information

Purchase & Order Search and Replace for Windows

License Information

Customer Support

Acknowledgments

Funduc Software Products

Basic Operations

Search and Replace Main Window

Program Options

Action Menu

Edit Menu

View Menu

Command Line Parameters

About dialog

Language Support

How To…

A Quick How-To Guide

Graphic Overview of the Main Screen

Scripts

Regular Expressions

Binary Mode Editor

Special Characters

Touch Files


Quick How-To Guide

Start a search:  Enter (or select from combo boxes) a search string, one or more file masks and a path. Then click Search. For more information see Search and Replace Main Window. ZIP files are searched by default. To configure that and many other items, see Program Options.

Use Special Characters or Multiple Lines in Search or Replace:  Click the [image] button to the right of the Search or Replace String field to use multiple lines or special characters for that field. The Binary Mode dialog will be displayed. When you are done creating the string "Binary mode -->>" is displayed on the main dialog. To view the string later, click the button again (it cannot be shown on the main screen). You can also add several lines to the beginning or the end of the files processed.

Set Up Include &/or Exclude File Masks:  File masks follow the syntax of the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). You can specify more than one mask can be specified via a semicolon separator. Exclude masks use the ~ character to denote a mask NOT to search (e.g., *.*;~*.swp;~*.exe;~*.dll). To specify a ~ as part of the file mask, use \~ (e.g., *.*;\~*.tmp). For more information, File Masks.

Start a replace (registered version only):  Enter (or select from combo boxes) a search string, a replace string, one or more file masks and a path. Then click Search & Replace. For more information see Search and Replace for Windows Main dialog.

Change Options:  Click the Options button or select Options from the View menu on the menu bar. Among the options you can change are the colors to use for display, how often to prompt during replaces, a file(or printer) to write the output to, number of items to save in the combo boxes, search filters, etc. See Options for more information.

View the Context of a Search Result:  Double-click the Search Result or click the right (left for left-handers) mouse button and use the pop-up menu. The internal context viewer can display text files. However, Search and Replace can automatically view binary files using our external utility, HexView for Windows 95/NT. The registered version allows you to edit the file using the internal context viewer.

Open a File Listed in Search Results :  To open the file using the associated program, double-click the "Processing file..." line in the Search Results or click the right (left for left-handers) mouse button and use the pop-up menu.

Use Regular Expressions:  Regular Expressions are supported for both Search and Replace (replacing allowed only in registered version).

Use Scripts for Multiple Search and Replace strings or Paths:  You can save create and save scripts via the Script Dialog to process multiple Search/Replace strings, paths and file masks.

Use Command Line Parameters:  See Command Line Parameters. For all practical purposes, only the Windows 95/NT version can be used from the command line.

Find Files only:  Enter one or more file masks and a path. Do not enter a Search String (or blank it out). Then click Search. For more information see Search and Replace for Windows main dialog.

Touch Files:  To Touch Files, enter (or select from combo boxes) one or more file masks and a path. You will be prompted for a date and time to use for all the files.

Search ZIP Files:  Check the "Search ZIP files" field on the main screen to enable searches in PKZIP-compatible ZIP files that are present in the search path(s). Any files with the masks specified will be extracted to the extract path specified under Search Options and searched. This option is only available for Searches (not Replaces). ZIP searching may slow down your searches so you turn it off if you do not need it. You do not need to specify *.zip on the file mask field to search ZIPs. Simply check this box. Any file masks specified will be applied to files found inside of ZIPs. See the section on ZIP files for more information.


Actions Menu

The Search and Replace Actions Menu has the following items:

Search:  Select this to start a search.

Search and Replace:  Select this to start a search and replace. We recommend that if you use this feature you also enter a backup path in the Replace Options dialog.

Touch:  Select this item to touch the files found using the mask(s) provided in the specified directory. See Touch Files for more information.

Exit:  Select this to exit Search and Replace.


Edit Menu

The Search and Replace Edit Menu has the following item:

Copy Search Results:  Select this to copy the Search Results (if any) to the clipboard. If the Search Results list contains nothing, this item is not available.


View Menu

The Search and Replace View Menu has the following items:

Open with Associated Viewer:  This opens the current file in the Search Results (if any) using the associated viewer (program). If no viewer is associated with that file extension, the default viewer, configurable in General Options, is used (default is NOTEPAD.EXE). The file to open is determined by the focus in the Search Results list, which is marked by a thin rectangle or a highlight. If the Search Results list contains nothing, this item is not available. If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in Search Options. If you edit a file that was in a ZIP, you must update the original ZIP file using your ZIP utility since ZIP files are NOT automatically updated. See Product Information for details about Directory Toolkit for Windows 95/NT, our multipurpose file and directory utility with built-in ZIP functions.

Open with Default Viewer:  This opens the current file in the Search Results (if any) using the Search and Replace default viewer (configurable in General Options). NOTEPAD.EXE is used if no default viewer has been defined. The file to open is determined by the focus in the Search Results list (marked by a thin rectangle or a highlight). The Default Viewer menu item is not available if the Search Results list is empty. If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in Search Options. If you edit a file contained in a ZIP you must update the original ZIP using your ZIP utility as ZIPs are NOT automatically updated.

The command line for the Search and Replace Default Viewer will pass the keywords, %line% and %path%, for the line number of the highlighted found string in the Search Results list and the complete path to the file containing that string. This is useful if your viewer supports command line switches to open a file at a specific line number. For example, if your viewer supports specification of a line number, you would make a setting under the "If no association use:" field in General Options of something like, "C:\Windows\SuperView.exe %path%(%line%)" to launch "SuperView" and move automatically to the line containing the string highlighted in the Search & Replace Results list. Consult documentation for your viewer or editor for details on command line syntax. Note: If the filename itself is highlighted in the Search Results list, a value of 1 is passed for %line%.

Open with...:  This opens the current file in the Search Results (if any) using a viewer of your choice. A Select Viewer dialog allows you to select the viewer to use. The file to open is determined by the focus in the Search Results list, which is marked by a thin rectangle or a highlight. This item is not available if the Search Results list contains is empty. If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in the Search Options tab. If you edit a file that was in a ZIP, you must update the original ZIP using your ZIP utility since ZIP files are NOT automatically updated.

View Context:  Select this to view the current line in the Search Results (if any) and several lines before and after it using the Search and Replace internal context viewer. The file to open is determined by the focus in the Search Results list, which is marked by a thin rectangle or a highlight. This item is not available if the Search Results list is empty or if the focus on a filename line. Note that the Search and Replace context viewer displays text only. However, Search & Replace automatically detect binary files and launches our freeware application, HexView for Windows 95/NT, in order to view the context of binary files. See Product Information for details on HexView. Finally, note that if the results context is a file inside a ZIP file, it is extracted to a subdirectory of the path specified in Search Options. If you edit it, you must update the original ZIP using your ZIP utility since ZIP files are NOT automatically updated. See the View Context dialog for more information about viewing the context of search finds.

Note: When the focus (highlight) in the Search Results list is on a found string, double clicking with your mouse will also activate the context viewer. For the Win95/NT version of Search & Replace (SR32), the Enter key also activates the context viewer.

Script:  Select this item to display the Script Editor.

Options:  Select this item to display the Options dialog.


Search and Replace Main Window
Search and Replace for Windows Main Window

Note: See Graphic Overview of the Search and Replace Main Window for more information.

Search and Replace for Windows allows you to search (and replace with another string if you wish) for a given string in a set of files on a path you specify. You can also use Search and Replace as a file finder by leaving the Search string blank and entering a file mask & path. The main window is sizable, maximizable and minimizable for your convenience. The found strings and the files they are found in are clearly displayed in a list box using a customizable color (see General Options).

Search String field:  Enter the string to search for in this field or select a previous search string from the combo list ( [image]). The number of items saved in the combo lists is configurable in General Options. If you do not enter a Search String, the File Mask and Path fields will be used to execute a File Find, with the results displayed in the Search Results list.

Search String Browse button ( [image]):  Click this to use the Binary Mode dialog to create multiple line and/or special character Search Strings. When you are done creating a binary mode search string, "Binary mode -->>" is displayed on the main dialog. To view the string later, click the [image] button again. Note that binary mode strings will not be shown on the main screen so you will need to use the browse button.

Replace String field:  Enter the string to replace the search string with in this field or select a previous replace string from the combo list ( [image]).

Replace String Browse button ( [image]):  Click this to use the Binary Mode dialog to create multiple line and/or special character Replace Strings. When you are done creating a binary mode Replace string, "Binary mode -->>" is displayed on the main dialog. To view the string later, click the button again (it cannot be shown on the main screen).

File Mask field:  One or more include &/or exclude search masks for search files. If you have "Search ZIP Files" turned on, the mask will be applied to files inside of ZIPs as well as ordinary files in the path specified in the path field. The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see example above). Exclude masks use the ~ character to denote a mask NOT to search (e.g., *.*;~*.swp;~*.exe;~*.dll). To specify a ~ as part of the file mask, use \~ (e.g., *.*;\~*.tmp). Your last few search file masks are saved for you by the application and you can find them in the combo box list ( [image]). See File Masks for more information.

Path field:  Enter the path where files to search reside. You may type it by hand, navigate to it by using the Browse button ( [image]), or select a previously used path from the combo list ( [image]).

Path Browse button ( [image]):  Click to select the path where files to search reside via the Select Path dialog. If the Path field (described above) contains a valid path, it will be your starting path in the Select Path dialog. Otherwise, the current path will be used.

Case sensitive field:  Check this field if you want the search to be case sensitive. Uncheck it if you want to search regardless of case.

Search subdirectories field:  Check this field to search all subdirectories of your path. Note that this will usually slow your search down. Uncheck it if you just want to search the specified path.

Match Whole Word:  Check this field to look for the exact word or phrase specified, meaning, enclosed by whitespace. For example, if this option is on and you look for "Window", the program will find it in the phrase "...use the Window menu..." but not in the phrase "...Windows 95...". If this option is not checked, both occurrences will be found.

Regular Expression field:  Check this field if you want to use a regular expression. Case sensitive and binary mode can be used in conjunction with this type of search. When regular expression is enabled, the Match Whole Word function is not available. See Regular Expression Support for details on the syntax supported.

Search ZIP Files field:  To search files inside of ZIP files that exist in the specified path, check this box. When enabled, any PKZIP-compatible ZIP files that are present in the search path(s) will be examined and any files matching the file masks specified will be temporarily extracted to the extract path specified under Search Options and searched. This option is only available for Searches (not Replaces). This option may slow down your searches, so you should turn it off if you do not need it. Note that to search ZIPs you do not need to specify *.zip on the file mask field - simply check this box. Any file masks specified will be applied to files found inside of ZIPs. See the section on ZIP files for more information.

Search Results List:  Your search results are displayed there. The information that is output to the Results list is configurable in Output Options, e.g., filenames, number of hits, hit lines, etc. The file name and the strings found are displayed in different colors, configurable in General Options. (If you're having trouble seeing the results, try changing the colors). Double clicking on a line where a search string is displayed will display the View Context screen. For the Win95/NT version of Search & Replace (SR32), the Enter key also activates the context viewer. Double clicking on a line that lists a filename will launch the executable associated with that file, if one exists (e.g., in File Manager). You can also use the right mouse button to display a menu or use the Ctrl+C key to copy the list box contents to the Clipboard.

Search button:  Click this button to start a search.

Search and Replace button:  Click this button to start a search and replace. We recommend that if you use this feature you also enter a backup path in the Options dialog (see Replace Options).

Options button:  Click this button to display the Options dialog.

Script button:  Click this button to activate the Script Editor.

Touch button:  Click this button to touch the files found using the mask(s) provided in the specified directory (See Touch Files).

About button:  Click this button to view system information, Ordering Information, and licensing information.

Exit button:  Click this button to exit the application.


Options: Overview
Options Dialogs

Options are set from the View Menu or from the Options button on the main screen. They are separated into 5 categories, which you can activate by clicking the tabs at the top of the top of the options dialogs. The options categories are:

General Options:  Number of items to save in the drop down lists; View context fonts & # of lines; Display colors; Default file association.

Search Options:  Maximum regular expression size; ZIP search temporary directory.

Replace Options:  Backup file path definition; Enable/disable routing changed files to the backup path; Replacement prompt choices; Enable preservation of original file time/date stamp during replacements.

Output Options:  Hit line display options; Definition of results output file; Characters to demark search finds.

Filter Options: Exclude files by date &/or size.


Options: General
General Options

Click on the graphic below for help on General options or to switch to help on the other options categories. Scroll your help screen down below the graphic for a text list description of the General options fields.

Details on General Options Fields:

Number of items to save:  Select the maximum number of items to save in the Search String, Replace String, Mask, and Path drop down combo list boxes, which are activated by clicking on the [image] icons next to the input fields in the main screen.

Number of lines to view:  Select the number of items to view before and after the search results hit line in the View Context dialog.

Found Color Button:  Choose this button to display the Color dialog, which you then use to select a new color for the found strings in the list.

File Color Button:  Choose this button to display the Color dialog to select a new color for the file names where the strings were found.

If no association use:  Enter the default viewer to use either when a file has no Windows file association on your computer or when you select the Search & Replace default viewer. You may also use the Browse button ( [image]) to select a default viewer via the Select Viewer dialog. Note that the Search & Replace Default Viewer command line will pass the keywords %line% and %path%, for current line and full path to the file highlighted in the results list. This is useful for custom command line settings for viewers/editors that allow you to specify the line number to automatically move to when opening a file. See Default Viewer (under View Menu) for more information.

View Context Font Button:  Click this button to display the font dialog to select a new font for the View Context dialog.

OK button:  The changes will be saved and the dialog will close.

Cancel button:  The changes will not be made.


P_OGEN_ITEM_SAVE
Number of Items to Save:  This setting controls the number of items Search and Replace will save in the drop down lists ( [image]) next to the various input fields such as the Search & Replace strings, File Mask, & Path. The default is 5. The maximum is 20.


Lines To View
Lines To View:  This setting controls the number of lines displayed in View Context window. The default is 5 and the maximum 20.


Found Color
Found Color:  Activates a Color Dialog to change the highlighting color of found strings in Search Results and the View Context windows.


File Color
File Color:  Activates a Color Dialog to change the highlighting color of file names in the Search Results area.


File Association
If no association use:  Enter the default viewer use either when a file has no Windows file association on your computer or when you select the Search & Replace default viewer. You may also use the Browse button ( [image]) to select a default viewer via the Select Viewer dialog. The default viewer command line will pass the keywords %line% and %path%, for current line and full path to the file highlighted in the results list. This is useful for custom command line settings for viewers/editors that allow you to specify the line number to automatically move to when opening a file. See Default Viewer (under View Menu) for more information.


View Context Font
View Context Font:  Activates a font selector dialog to pick a new font for the View Context dialog.


Options: Search
Search Options

Click on the graphic below for help on Search options or to switch to help on the other options categories. Scroll your help screen down below the graphic for a text list description of the Search options fields.

Details on Search Options Fields:

Maximum Regular Expression Size:  Enter the maximum number of bytes to allow for regular expression searches. The maximum allowed is 4096 (4K).

Unzip files to:  Enter a path where ZIP files will be temporarily extracted to for searching if you have "Search ZIP files" turned on (see Search and Replace Main Window). The default is the temporary directory defined by your computer's operating system, typically "Windows\Temp". Subdirectories will be created and removed as needed under the specified path.

OK button:  The changes will be saved and the dialog will close.

Cancel button:  The changes will not be made.


Maximum Regular Expression Size
Maximum Regular Expression Size:  Enter the maximum number of bytes to allow for regular expression searches. The maximum allowed is 4096 (4K).


UnZip Path
UnZip Path:  Enter a path or use the browse button ((bmc b_path4.bmp}) to select the path where ZIP files will be temporarily extracted to for searching if you have "Search ZIP files" turned on (see Search and Replace Main Window). The default is the temporary directory defined by your computer's operating system, typically "Windows\Temp". Subdirectories will be created and removed as needed under the specified path.


Options: Replacements
Replace Options

Click on the graphic below for help on Replace options or to switch to help on the other options categories. Scroll your help screen down below the graphic for a text list description of the Replace options fields.

Details on Replace Options Fields:

Backup File Path:  Enter a backup path if you want your old files backed up. You may use the Browse button ( [image]) to select a path via a Select Path dialog. The directory tree will be created if needed during the Replace operation (if Search Subdirectories was checked).

Write Files to Backup Path:  Check this box to write the files changed during a replace operation to the backup directory. This will leave the original file(s) in the search path unchanged. You must also specify a Backup Directory. If Search Subdirectories was checked, the directory tree of the search path will be created as necessary under the path specified in Backup Directory. Note that if you check this, you should take care to remember that the newer, replaced versions of your file(s) will be found under the Backup Directory. Search & Replace provides a reminder message when "Write Files to Backup Path" is checked.

Replace Prompts Group:

 Select "Prompt On All" to get a prompt on every string to be replaced in every file.

 Select "Prompt on Each File" to get a prompt for all occurrences in each file. Note that if you use this option, you may not realize exactly the context of every string you replace.

 Select "No Prompts" to not get any prompts whatsoever for all replaces. Note that If you use this option, you may not realize the exact context of every string you replace or which files you replace them in until after the operation is finished."

OK button:  The changes will be saved and the dialog will close.

Cancel button:  The changes will not be made.


Backup Path
Backup Path:  Enter a backup path if you want your old files backed up. You may use the Browse button ( [image]) to select a path via a Select Path dialog. The directory tree will be created if needed during the Replace operation (if Search Subdirectories was checked).


Write Output to Backup Path
Write Output to Backup Path:  Check this box to write the files changed during a replace operation to the backup directory. This will leave the original file(s) in the search path unchanged. You must also specify a Backup Directory. If Search Subdirectories was checked, the directory tree of the search path will be created as necessary under the path specified in Backup Directory. Note that if you check this, you should take care to remember that the newer, replaced versions of your file(s) will be found under the Backup Directory. Search & Replace provides a reminder message when "Write Files to Backup Path" is checked.


Replacement Prompts?
Replacement Prompts?:  This mutually exclusive selector controls whether or not Search and Replace will supply prompts during replacement operations.

 Select "Prompt On All" to get a prompt on every string to be replaced in every file.

 Select "Prompt on Each File" to get a prompt for all occurrences in each file. Note that if you use this option, you may not realize exactly the context of every string you replace.

 Select "No Prompts" to not get any prompts whatsoever for all replaces. Note that If you use this option, you may not realize the exact context of every string you replace or which files you replace them in until after the operation is finished.


Do not chage file date/Time
Do Not Change File Date/Time:  When enabled, Search & Replace will preserve the original time & date stamp of files when replacements are made.


Options: Output
Output Options

Click on the graphic below for help on Output options or to switch to help on the other options categories. Scroll your help screen down below the graphic for a text list description of the Output options fields.

Details on Output Options Fields:

Hit Line Display:  When checked -

 Display Files Without Hits will cause the display to list the filenames where no occurrences of the search string were found. Note that if this is the only box checked, the display will not list files were the search string is present.

 Display First Hit Line will cause the display to list the filenames and the highlighted context of where the search string was found. If you are searching across multiple lines, the first line of the hit will be displayed. Note that if this is the only box checked, you'll only get feedback from files where the search string was found.

 Display Replace String will cause the display to list the filenames, replacements, and total counts for all replacements. Note that if this is the only box checked, you won't see the context of each replacement. Check "Display First Hit Line" if you want to see the full replace contexts.

 Display Number of Hits in File lists the filename(s) and number of times the search string was found in that file. Note that if "Display First Hit Line" is not checked, only the number of hits will be listed. Select this if you only want to know how many hits were found in each file.

Show Output to File and Browse button:  Enter a file to write the Search Results list output to. If this field is blank, no file is produced. If no path is specified, the current directory is used. Use the Browse button ( [image]) to select an output file via a File Save As dialog. The default suggestion for the File Save As dialog is the file "Results.txt." However, you are free to use any filename. Note that what is written to this file is the same information presented in the Search & Replace results display. Therefore, to adjust the output, make selections in the "Hit Line Display" checkboxes.

Before Hit:  You can change the string displayed "before" hits in clipboard dump or in the Output File. Blank out this field if you want nothing to be displayed.

After Hit:  You can change the string displayed "after" hits in clipboard dump or in the Output File. Blank out this field if you want nothing to be displayed.

OK button:  The changes will be saved and the dialog will close.

Cancel button:  The changes will not be made.


Display Files Without Hits
Display Files Without Hits:  When checked, the display will list the filenames where no occurrences of the search string were found. Note that if this is the only box checked, the display will not list files were the search string is present.


Display First Hit Line
Display First Hit Line:  When checked, the display will list the filenames and the highlighted context of where the search string was found. If you are searching across multiple lines, the first line of the "hit" will be displayed. Note that if this is the only box checked, you'll only get feedback from files where the search string was found.


Display Replacement String
Display Replacement String:  When checked, the display will list the filenames, replacements, and total counts for all replacements. Note that if this is the only box checked, you won't see the context of each replacement. Check "Display First Hit Line" if you want to see the full replace contexts.


Display Number of Hits
Display Number of Hits:  When checked, the display will list the filename(s) and number of times the search string was found in that file. Note that if "Display First Hit Line" is not checked, the only thing listed will be the number of hits. Select this if you only want to know how many hits were found in each file.


Write Replacement Output To File
Write Output To File:  Enter a file to write the Search Results list output to. If this field is blank, no file is produced. If no path is specified, the current directory is used. Use the Browse button ( [image]) to select an output file via a File Save As dialog. The default suggestion for the File Save As dialog is the file "Results.txt." However, you are free to use any filename. Note that what is written to this file is the same information presented in the Search & Replace results display. Therefore, to adjust the output, make selections in the "Hit Line Display" checkboxes.


Before Hit Character
Before Hit Character(s): Enter the character string to be displayed "before" hits in clipboard dump or in the Output File. If you do not want anything displayed, blank out this field.


After Hit Character(s)
After Hit Character(s):  Enter the character string to be "displayed" after hits in clipboard dump or in the Output File. If you do not want anything displayed, blank out this field.


Options: Filters
Filter Options

Click on the graphic below for help on Filter options or to switch to help on the other options categories. Scroll your help screen down below the graphic for a text list description of the Filter options fields.

Details on Filter Options Fields:

Exclude File(s) by Date:  The "Before Date" will exclude all files whose date stamp precedes the date entered and the "After Date" will exclude all files whose date stamp falls after the date entered. You may enter values in one or both date fields. By combining settings, you can limit operations to files whose time stamp falls in a specific range. For example, to process only files that were last modified in April 1997, you would enter a "Before Date" of 03/30/97 and an "After Date" of 05/01/97. Date exclusions can also be combined with one or both of the exclude by size filters.

Exclude File(s) by Size:  The "Less Than" field will exclude all files whose size is smaller than the value entered and the "Greater Than" excludes files whose size is larger than the value specified. Size units may take the form of #  of bytes or whole K, KB, or M values, e.g., 100K, 100KB, 1M, 4M. You should not enter fractional values when using K, KB, M quantities. You may enter values in one or both size fields and size exclusions may be combined with one or both date exclusion values. For example, to limit the display to files smaller than 8000 bytes modified sometime in April 1997, enter a "Before Date" of 03/30/97, an "After Date" of 06/01/97, and a "Greater Than" value of 8000.


Exclude Before Date
Exclude Before Date:  If a date is entered here, all files whose date stamp precedes that date will be excluded from your search. In the example here, all files earlier than 3/31/97 will not be included in the search (& replace). You may combine this setting with an "After Date" to limit operations to a specific date range. Date exclusions can also be combined with one or both of the exclude by size filters.


Exclude After Date
Exclude After Date:  If a date is entered here, all files whose date stamp comes after that date will be excluded from your search. In the present example, all files later than 5/1/97 will not be included in the search (& replace). You may combine this setting with a "Before Date" to limit operations to a specific date range. Date exclusions can also be combined with one or both of the exclude by size filters.


Exclude Files Less Than
Exclude Less Than:  This field excludes all files whose size is smaller than the value entered. Size units may take the form of #  of bytes or whole K, KB, or M values, e.g., 100K, 100KB, 1M, 4M. You should not enter fractional values when using K, KB, M quantities. This field can be combined with a value in the "Larger Than" field and one or both of the date filters.


Exclude Larger Than
Exclude Larger Than: This field excludes all files whose size is smaller than the value entered. Size units may take the form of #  of bytes or whole K, KB, or M values, e.g., 100K, 100KB, 1M, 4M. You should not enter fractional values when using K, KB, M quantities. This field can be combined with a value in the "Less Than" field and one or both of the date filters.


OK
OK Button:  Saves the current settings and closes the dialog.


Cancel
Cancel Button:  Closes the dialog and cancels any changes made.


Help Button
Help Button:  Activates online help.


Scripts: Overview
Script Dialog

The Script dialog allows you to create and edit Search and Replace scripts. You can use a script to specify multiple search/replace combinations for processing, to save a particular Search or Replace string for later use, or to process multiple drives/directories and/or file masks. You can override the Search and Replace strings in the main dialog and still use the Masks and Paths, or you can override anything but the list of paths, or only use the Search/Replace list on a path and mask specified in the main window. The scripts are stored in ASCII text format so that they can be edited or printed with any text editor. To convert scripts created with earlier versions of the program, load them and then save them using the same name.

The script editor consists of three main components: Multiple Search & Replace Strings, Multiple Paths & Filemasks, and Script File Operations. A graphic view of the Script Editor is also available. Select the topics below for additional details.

Graphic Overview of the Script Editor

Script Editor: Multiple Search and Replace Items in Scripts

Script Editor: Multiple Paths and File Masks Items in Scripts

Script Editor: Script File Operations

Format of Script Files

Please note:

 You can enter Search strings only, both Search and Replace strings, Path and mask strings only, or all the fields in a script. You can also override some of the values from the main window by entering new Search and Replace strings or new Path and Mask strings. As new versions come out, more functionality will be added in this area.

 When a script is active, the Search, Replace, File Mask, and Path fields in the Search and Replace main window will change to reflect the script in use. For example, given a script named, example.srs, which only has settings for a search string, the Search field in the main window will change to read "Use Script file: d:\example.srs". If example.srs also involves a replace string and a file mask, the Replace and File Mask fields will also change to read, "Use Script file: d:\example.srs".


Scripts: Multiple Search and Replace Items
Script Editor: Multiple Search and Replace Items

Outlined here are the fields in the upper half of the script editor. These fields are used to create one or more search (and replace) strings for a script. The search & replace entries are built in conjunction with one or more paths & files masks in the lower half of the script editor.

Also see

 Graphic Overview of the Script Editor

 Multiple Paths and File Masks in Scripts

 Script File Operations

 Format of Script Files

Search String field:  Enter the string to search for in this field. Selecting a line in the Search/Replace List will display the information for that line and allow you to edit it. When you are done with this field and with the settings for the Replace string, Case Sensitive, Regular Expression and Match Whole Word, click "Apply" to save the information to your script.

Search String Binary Mode button ( [image]):  Click this to activate the Binary Mode dialog to create searches that span multiple lines or to insert special characters for the Search field. When you are done creating the string, "Binary mode -->>", is displayed in the search string area. If you want to double check your entry or make changes, click the button again.

Replace String field:  Enter the replacement string in this field. Selecting a line in the Search/Replace List will display the information for that line and allow you to edit it. When you are done with this field and with the settings for the Search string, Case Sensitive, Regular Expression and Match Whole Word, click "Apply" to save the information to your script.

Replace String Binary Mode button ( [image]):  The operation here parallels the Search String binary mode editor. Click this to activate the Binary Mode dialog to a multiple line and/or special character Replace String. When you are done creating the string, "Binary mode -->>" is displayed. To view the string later, click the button again.

Case Sensitive field:  Check this to make the search to be case sensitive. Uncheck it if you want to search regardless of case. To save the information for the current row when you are done, click "Apply" (in the same group).

Match Whole Word:  Check this field to search for the exact word or phrase specified (enclosed by whitespace). For example, if this option is on and you look for Window, the program will find it in the phrase ...use the Window menu... but not in the phrase ...Windows 95.... If this option is not checked, both occurrences will be found. To save the information for the current row when you are done, click Apply (in the same group). Note that this field will be not be available if Regular Expressions are turned on.

Regular Expression field:  Check this field if you want to use a regular expression. Case sensitive and binary mode can be used in conjunction with this type of search. See Regular Expressions for more information on the syntax supported. To save the information for the current row when you are done, click "Apply" (in the same group).

Search/Replace List:  The search/replace items currently in the script are displayed here. To change a specific line, select it in this list. The information for the line will then be displayed and you can then modify or delete it as you wish.

Apply button for Search/Replace List:  Click this button to save the information for the currently selected line.

Remove button for Search/Replace List:  Click this button to delete the information for the currently selected line.

Remove All button for Search/Replace List:  Click this button to remove all the Search/Replace lines (to start a new script for example).

Move Up button for Search/Replace List:  Click this button to move the information for the currently selected line up by one line.

Move Down button for Search/Replace List:  Click this button to move the information for the currently selected line down by one line.

Insert button for Search/Replace List:  Click this button to insert a new Search/Replace line above the currently selected line.


Scripts: Multiple Paths & File Masks
Script Editor: Multiple Paths and File Masks

Outlined here are the fields in the lower half of the script editor. These fields are used to create one or more filemask and path combinations for a script. The filemask & path are built in conjunction with one or more search & replace strings in the upper half of the script editor.

Also see

 Graphic Overview of the Script Editor

 Multiple Search and Replace Items in Scripts

 Script File Operations

 Format of Script Files

File Mask field:  One or more include &/or exclude search masks for search files. The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see example above). Exclude masks use the ~ character to denote a mask NOT to search (e.g., *.*;~*.swp;~*.exe;~*.dll). To specify a ~ as part of the file mask, use \~ (e.g., *.*;\~*.tmp). To save the information for the current line, click "Apply" (in the same group). (See File Masks for more information on using defining masks.)

Path field:  Path where files to search reside. You may type it by hand, navigate to it by using the Browse button below. To save the information for the current line, click "Apply" (in the same group).

Path Browse button ( [image]):  Click to select the path where files to search reside. The Select Path dialog will be displayed to allow you to visually select the path. If the Path field (described above) contains a valid path, it will be your starting path in the path browser. Otherwise, the current path will be used. To save the information for the current line, click "Apply" (in the same group).

Path/Mask List:  The filemask/path items currently in the script are displayed here. To change a specific line, select it in this list. The information for the line will then be displayed and you can then modify or delete it as you wish.

Apply button for Path/Mask List:  Click this button to save the information for the currently selected line.

Remove button for Path/Mask List:  Click this button to delete the information for the currently selected line.

Remove All button for Path/Mask List:  Click this button to remove all the Path/Mask lines (to start a new script for example).

Move Up button for Path/Mask List:  Click this button to move the information for the currently selected row up by one row.

Move Down button for Path/Mask List:  Click this button to move the information for the currently selected row down by one row.

Insert button for Path/Mask List:  Click this button to insert a new Path/Mask row above the currently selected row.


Scripts: Script File Operations
Script Editor: Script File Operations

Save As button:  Click to save the created/modified script to disk.

Load button:  Click to load a script from disk for editing or using Search, Search and Replace, Touch or File Find.

Use Script button:  Click to use the script for Search, Search and Replace, Touch or File Find. You can override several of the script settings in the main window (see Scripts for details).

Cancel button:  Exits the dialog without using the script settings. If you made changes to a script, you are asked whether you want to save the information.


Scripts: Format of Script Files
Script Editor: Format of Script Files

Also see

 Graphic Overview of the Script Editor

 Multiple Search and Replace Items in Scripts

 Multiple Paths and File Masks Items in Scripts

Format of the Script file:  Scripts are saved as ASCII files. The safest way to create a valid script is to use the Script dialog, then to edit the resulting file and perhaps to cut and paste to add new steps. A simple script file looks like this:

[Script for Search and Replace]

[Search]

Search string #1

[Replace /b]

Replacement string #1

[Search /bix]

Search string #2

[Replace]

Replacement string #2

[Path]

c:\*.ini

[Path]

d:\work\*.txt

[End of Search and Replace Script]

Some Important Notes Regarding Scripts:

 The following tags must be at the beginning and end of the script:[Script for Search and Replace] and [End of Search and Replace Script].

 Search strings can be entered on the next line after a [Search] tag. To enter the Regular Expression, Case Sensitive off (or Insensitive), Whole Word Only and Binary Mode, you must use the /x /i /w /b flags respectively (see above). The flags are case insensitive. This is similar to the flags for Command Line Parameters.

 Replace strings can be entered on the next line after a [Replace] tag. You can only use the /b flag for Binary Mode with this tag (see above) since all other tags are specified on the Search field.

 Path and mask strings can be entered on the next line after a [Path] tag. No flags can be used with this tag. The mask string must be entered right after the path string and a \ character is expected between them. For example c:\*.ini will use Path C:\ and Mask *.ini. If you turn on the Search Subdirectories box on the main window, all INI files on the C: drive will then be processed.

 You can enter Search strings only, both Search and Replace strings, Path and mask strings only, or all the fields in a script. You can also override some of the values from the main window by entering new Search and Replace strings or new Path and Mask strings. As new versions come out, more functionality will be added in this area.

 When a script is active, the Search, Replace, File Mask, and Path fields in the Search and Replace main window will change to reflect the script in use. For example, given a script named, example.srs, which only has settings for a search string, the Search field in the main window will change to read "Use Script file: d:\example.srs". If example.srs also involved a replace string and a file mask, the Replace and File Mask fields would also change to read, "Use Script file: d:\example.srs".


Scripts: Graphic View of Editor
Script Editor Graphic View

Also see

 Multiple Search and Replace Items in Scripts

 Multiple Paths and File Masks Items in Scripts

 Script File Operations

 Format of Script Files


P_SCRIPT_SEARCH
Search String:  Enter the string to search for in this field. Selecting a line in the Search/Replace List will display the information for that line and allow you to edit it. To create Binary Mode search, activate the Binary Mode dialog via the [image] button. If you create a Binary search, the string, "Binary mode -->>", is displayed in the search string area. When you are done with this field, the Replace string and the Case Sensitive, Regular Expression and Match Whole Word settings, click "Apply" to save the information to your script.

Note that in the current example, the highlighted line Search/Replace list makes use of Regular Expression search using the * operator.


P_SCRIPT_REPLACE
Replace String:  Enter replacement string in this field. Selecting a line in the Search/Replace List will display the Search and Replace strings for that line and allow you to edit it. To create Binary Mode replacements, activate the Binary Mode dialog via the [image] button. If you create a Binary replacement, the string, "Binary mode -->>", is displayed in the replace string area. When you are done with this field, the Search string and the Case Sensitive, Regular Expression and Match Whole Word settings, click "Apply" to save the information to your script.

Note that in the current example, the highlighted line in the Search/Replace list makes use of Regular Expression replacement using the %1 operator to include the search results yielded by the * search operator (see the Search String) in the replacements.


P_SCRIPT_SRLIST
Search/Replace List:  The list of Search/Replace combinations established for the current script. Two assignments are listed here. To change an existing assignment, highlight it in the Search/Replace list, make changes to either the Search or Replace field, and click on the "Apply" button. Note that as modeled in the example here, a binary operation is reflected by the phrase "Binary Mode ->>" for the second search string.


P_SCRIPT_CASE
Case Sensitive Field:  Check this if you want the search to be case sensitive. Uncheck it if you want to search regardless of case. To save the information for the current line, click the Search/Replace "Apply" Button.


P_SCRIPT_WHOLE
Match Whole Word Field:  Check this field if you want to look for the exact word or phrase specified (enclosed by whitespace). For example, if this option is on and you look for Window, the program will find it in the phrase ...use the Window menu... but not in the phrase ...Windows 95.... If this option is not checked, both occurrences will be found. To save the information for the current line, click the "Apply" Button. Note that as in the example here, Match Whole Word is not available when the Regular Expression field is checked.


P_SCRIPT_REGEXP
Regular Expression Field:  Check this field if you want to use a regular expression search &/or replacement. Case sensitive and binary mode can be used in conjunction with this type of search. See Regular Expressions for more information on the syntax supported. To save the information for the current line, click the Search/Replace "Apply" Button.


P_SCRIPT_BINARY
Search/Replace Strings Binary Mode Buttons:  Click these buttons to activate the Binary Mode dialog for the respective Search or Replace strings  The Binary Mode dialog is used to for operations that span multiple lines or use special characters. When you are done, "Binary mode -->>", is displayed in the string area. To double check your entry or make changes, click the button again. Be sure to click the Search/Replace "Apply" Button to enter your changes into the script.


P_SCRIPT_APPLY
Search/Replace List Apply Button:  Click this to commit the information for the highlighted search/replace line to the script.


P_SCRIPT_REMOVE
Search/Replace List Remove Button:  Click this to delete the information for the highlighted search/replace line from the script.


P_SCRIPT_REMOVEALL
Search/Replace List Remove All Button:  Click this to remove all the existing Search/Replace combinations.


P_SCRIPT_MOVEUP
Search/Replace List Move Up Button:  Click this to move the information for the highlighted line up by one line.


P_SCRIPT_MOVEDOWN
Search/Replace List Move Down Button:  Click this to move the information for the highlighted line down by one line.


P_SCRIPT_INSERT
Search/Replace List Insert Button:  Click this to insert a new Search/Replace line above the currently selected line.


P_SCRIPT_FMASK
File Mask field:  This is the file mask for the search/replace that is currently highlighted in the Search/Replace list (if any are present). The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see example above). Exclude masks use the ~ character to denote a mask NOT to search (e.g., *.*;~*.swp;~*.exe;~*.dll). To specify a ~ as part of the file mask, use \~ (e.g., *.*;\~*.tmp). To save the information for the current line, click Path/Mask "Apply" Button.


P_SCRIPT_FPATH
Path field:  This is the path for the search/replace that is currently highlighted in the Search/Replace list (if any are present). You may type it by hand or navigate to it by using the Browse button. Be sure to click on the File/Path "Apply" button to commit your choice to the current script.


P_SCRIPT_FBROWSE
Path/Mask Browse Button:  Click this to use the path browser to select the path where files to search reside. If the Path field currently contains a valid path, it will be your starting path in the dialog. Otherwise, the current path will be used.


P_SCRIPT_FAPPLY
Path/Mask List Apply Button:  Click this to commit the information for the highlighted selected line.


P_SCRIPT_FREMOVE
Path/Mask List Remove Button:  Click this to delete the information for the highlighted line.


P_SCRIPT_FREMOVEALL
Path/Mask List Remove All Button:  Click this to remove all the Path/Mask lines.


P_SCRIPT_FUP
Path/Mask List Move Up Button:  Click this to move the highlighted line in the Path/Mask list up by one.


P_SCRIPT_FDOWN
Path/Mask List Move Down Button:  Click this to move the highlighted line Path/Mask list down by one.


P_SCRIPT_FINSERT
Path/Mask List Insert Button:  Click this to insert a new Path/Mask line above the highlighted line. Note that depending on the focus in the Search/Replace list area, clicking here may affect the Search/Replace list. If you want to insert an additional path and not disturb already established Search/Replacement/Path/Mask combos, first move the focus in the Search/Replace list off exiting items by either: a) clicking the Search/Replace "Insert" button (the Insert button in the upper ½ of the Script Editor) to create a blank Search/Replace item or b) click anywhere in the Search/Replace List area below the last item in the list.


P_SCRIPT_FPATHLIST
Path/Mask List:  The list of path/mask combinations established for the current script. Two assignments are listed here. To change an existing assignment, highlight it in the path/mask list, make changes on the File Mask(s) or Path lines, and click on Apply.


P_SCRIPT_FSAVE
Save As Button:  Click this to save the created/modified script to disk via a standard Save As dialog.


P_SCRIPT_FLOAD
Load Button:  Click this to load an existing script from disk for use &/or editing.


P_SCRIPT_FUSE
Use Script Button:  Click this button to use the script for Search, Search and Replace, Touch or File Find. You can override several of the script settings in the main window (see Scripts for details).


P_SCRIPT_FCANCEL
Cancel Button:  Exits the dialog without using the script settings. If you made changes to a script, a confirmation box asks you whether you want to save the information.


P_SCRIPT_HELP
Help Button:  Activates the help topic for the Script Editor.


Regular Expressions: Overview

You can use Regular Expressions for advanced searches, where the search string follows a rule and is not always exactly the same. Regular Expressions use "special character operators," which are symbols that control the search, and "an expression," which is a combination of characters and operators that specifies a pattern. Regular Expressions can be used in replacements and they can also make use of Binary Characters (see Special Characters and Binary Mode Editor). You should note that there are some differences between the operators for Regular Expression search strings and their counterpart replacement strings.

Search and Replace for Windows uses Regular Expressions that are a subset of the UNIX grep notation for Searching and DOS style Batch file input parameter notation, with some extensions for Replacing. Use of case sensitive flags and binary mode strings are also supported in conjunction with Regular Expressions. The major differences between the Search and Replace and egrep regular expressions are:

 . operator is not supported

 *+?! operator must precede an expression enclosed by () or [] (such as *[123] or +(Windows)). Otherwise, the operator is assumed to match any/all characters from beginning of line or to the end of the line.

See

 Regular Expression Search Operators for details on conducting searches using regular expressions. This section includes details on the Match Operators, Sub-Expression Operators, and an example Complex Searches.

 Regular Expression Replacement Operators for details on using regular expressions in replacement operations, including an example Complex Search and Replacement.

 Regular Expression Examples for some examples on using regular expressions in search and replacement operations.


Regular Expressions Search Operators
Regular Expression Search Operators

Described below are Regular Expression Match Operators, Sub-Expression Operators, Special Literals, and an example of a Complex Search using Regular Expressions. This help section is long so be sure to scroll through it for all information.

Also See

 Regular Expression Replacement Operators

 Regular Expression Examples

 Regular Expression Counter Operators

Important Notes:

 The following characters must be preceded by a \ character to be interpreted as a literal in a search using regular expressions:

- + * ? ( ) [ ] \ | $ ^ !

For example, to search for the \ character, you must use a double it (\\) in order for \ to be matched correctly when using Regular Expressions. The characters that must be preceded by a \ in order to be interpreted as literal characters are also described below. You should also note that the regular expression replacement literals involve a different set of characters.

 You may wish to increase the "Maximum Regular Expression Size" under Search Options if you have a regular expression search that involves Binary Characters and/or is very complex.

Regular Expression Search - Match Operators

*	Zero or more expressions enclosed in () or can be used by itself (see below). This operator is meant to be used around strings. Entering several expressions in a row containing * should be carefully done to avoid overlapping characters which can produce unpredictable matches. A list of characters to match can be specified, e.g., *(is) will match zero or more strings such as: is, isis. Windows *[0-9] will match Windows 95 This operator can also be used to match all characters between two strings,. e.g., *(is) will match zero or more strings such as: is, isis. Note: using the * operator at the beginning of the line will match all characters from the start of the line and at the end, to the end of the line. You can match characters between two or more strings up to 4096 characters (4K) apart by specifying a range after the * operator, e.g., Windows*[]95 will match up to 4096 characters (across several lines) between Windows and 95.  Windows*[\0-ÿ] will also accomplish the same match (older syntax). Note: When * is combined with a numeric range and the %n> or %n>starting value> replacement operators, the search expression above, Windows *[0-9], would be part of a Regular Expression Counter Operation.
+	One or more expressions enclosed in (), e.g.,  +(is) will match one or more strings such as: is, isis.
?	Exactly one expression enclosed in () or any one character, e.g., ?(is) will match the string is or si This operator can also be used to match any character between two strings or before or after a string. This is the main use for this operator. E.g.,  Win?95 will match Win 95, Win-95, Win/95 etc. Note: Using ? operator by itself will match every character in a file one at a time and should be avoided.
!	Does not match if the expression is found, e.g.,  !(a-c)at will match the string mat, rat or fat but not bat or cat. Another use is to look for a string that doesnt contain an expression, e.g.,  !(Windows )95 will find 95 in 1995 but not in Windows 95
^	An expression that starts at the beginning of a line, e.g.,  ^the finds the at the beginning of a line and The if case sensitive is turned off.
$	An expression that ends at the end of a line, e.g.,  end$ finds end when its the last string on a line.
Regular Expression Search - Sub-Expression Operators

[ ]	When entered alone, will match all characters and is equivalent to ?[]. When combined with the * operator, it will span across one or more lines up to the number of characters under Maximum Regular Expression Size. Alternatively, one or more character(s) entered between the brackets will be matched. Ranges are allowed by using the a-z notation. The [] operator can be used after a ?* + operator to modify the range matched by that operator. E.g.,  t[]e will match: This is line, ttp://www.e,  H[]d will match across two lines: "Hello (cr -lf) World" *[0-9] will match: 234907, 5795, or an empty string. [niewW] will match one or more strings such as: Win, new, win. [a-z] will match any lower case strings if case sensitive and any words if not case sensitive.  Note: You can also enter [a-zA-Z0-9\-_], e.g., multiple ranges and the - character itself preceded by a \. Note: When [] is combined with a numeric range, the * operator (e.g., *[0-9]), and the %n> or %n>starting value> replacement operators, a search expression such as Windows *[0-9] would be part of a Regular Expression Counter Operation.
( )	Denotes one or more sub-expression. You can specify matching an expression or another by using the | operator. E.g.,  Win( 95|dows 95) will match strings such as: Windows 95  and Win 95.
+n	Denotes the number of columns to match either before of after an expression. Use in combination with other sub-expression operators. A range can be specified,  E.g.,  +4[]w will match "llo W" and "Use W" in the strings "Hello World" and "Use Windows"  [ ]+5-15[0-9 ] will match "100.01", "123.9", & "543.21" in:                Data1       100.01  Somethin'                Dat2       123.9   Nuthin'                Dataa3      543.21  and junk
Regular Expression Search - Special Literal Characters

- + * ? ( ) [ ] \ | $ ^ !	If you wish to search for any of these characters, they must be preceded by the \ character to be interpreted as a literal in a search.
Complex Searches Using Regular Expressions

The above mentioned operators can be combined to produce searches such as:

?include (<|\[)[a-z0-9_].h*(p)+[\]>]	Will match: #include [stdafx.h] #include <dos.h> #include [my_include.hpp] #include [sr32.h] etc.


Regular Expressions Replacement Operators
Regular Expression Replacement Operators

The operators matches can be replaced with nothing (removed), the case of the text matched can be changed or they can be left intact. All operators may match some strings and therefore all should be accounted for in the replace expression.

Also See

 Regular Expression Search Operators

 Regular Expression Examples

 Regular Expression Counter Operators

Important Notes:

 The following special replacement characters must be preceded by a \ to be interpreted as a literal in a replace:

% \ < >

For example, to replace the \ character in a regular expression search & replacement, you must double it (\\). The characters that must be preceded by a \ in order to be interpreted as literal characters are also described below. You should also note that the regular expression search literals involve a different set of characters.

 For all the replace operations, you can see the result of the operation by making sure that in the "Prompt on All" radio button is selected under Replace Options.

 You may wish to increase the "Maximum Regular Expression Size" under Search Options if you have a regular expression search that involves Binary Characters and/or is very complex.

Regular Expression Replacement Match Operators

%n	%1 will use the first expression in the search string. For example,
	given the search string:	?include (<|\[)[a-z0-9_].h*(p)+[\]>]
	and the replace string:	%1exclude [%3>.H%4>]
	The results might be:
	#include [stdafx.h]	=>	#exclude [STDAFX.H]
	#include <dos.h>	=>	#exclude [DOS.H]
	#include [my_include.hpp]	=>	#exclude [MY_INCLUDE.HPP]
	#include [sr32.h]	=>	#exclude [SR32.H]
	Note that in this example: %1  - ? %2  - (<|\[) %3 -  [a-z0-9_] %4 -  *(p) %5 - +[\]>] These parameters can be used several times, omitted or used in any order.
<	Make lower case operator. To be used in conjunction with %n: %1< will replace the original first matched expression with its lower case version.
>	Make upper case operator. To be used in conjunction with %n: %1> will replace the original first matched expression with its upper case version.
%n>	Counter Operator. When used in conjunction with numeric regular expression search (e.g., *[0-9]), %n> begins incrementing with a value of +1 from the value of the first number found by *[0-9]. For example:
	Given the series:	page5.htm, page2.htm, page4.htm
	Search Expression:	page*[0-9]
	Replacement Expression:	page%n>
	The results would be:	page6.htm, page7.htm, page8.htm
%n>#>	Counter Operator. This operator allows you to specify a starting value for an incrementing replacement counter.  %n>starting value> begins incrementing with a value of +1 from the starting value you supply. This counter operator also respects the number of digit places you supply. To begin incremeting with a value of 1, use the expression %n>0>. The expression %n>000> would begin replacments with a a value of 001. Another example is:
	Given the series:	Var19, Var82, Var8
	Search Expression:	Var*[0-9]
	Replacement Expression:	Var%n>99>
	The results would be:	Var100, Var101, Var102
Special Regular Expression Replacement Characters (Literals)

% \ < >	If you wish to replace any of these characters, they must be preceded by the \ character to be interpreted as a literal in a replacement.


Regular Expressions Replacement Literals
Regular Expression Replacement Literals

% \ < > must be preceded by the \ character to be interpreted as literals in a regular expression replacement.


Regular Expression Search Literals

- + * ? ( ) [ ] \ | $ ^ !  must be preceded by the \ character to be interpreted as literals in a regular expression search.


Regular Expressions Examples: Overview
Regular Expression Examples Overview

Note: For all the replace operations, you can see the result of the operation by making sure that in the "Prompt on All" radio button is selected under Replace Options.

Three sets of examples are available:

Some Basic Regular Expression Search Examples

Additional Regular Expression Search Examples

Search and Replace Regular Expression Examples

Also see:

 Regular Expression Search Operators

 Regular Expression Replacement Operators

 Regular Expression Counter Operators


Regular Expressions Examples: General Search
Some Basic Regular Expression Search Examples

Also see

 Additional Regular Expression Search Examples

 Search and Replace Regular Expression Examples

 Regular Expression Search Operators

 Regular Expression Replacement Operators

 Regular Expression Incrementing Counters

Some Basic Regular Expression Search Examples

What to Match	Operator	Examples
Any single character	?	g?t finds get, got, gut
Any string of characters (one or more)	+	w+e finds wide, white, write but not we
Any string of characters (or none)	*	w*e finds wide, white, write and we
One of the specified characters	[]	g[eo]t finds get and got but not gut
One of the characters in a range	[-]	[b-p]at finds bat, cat, fat, hat, mat but not rat or sat
All characters	[]	i[] finds line, list, late. Use [] instead of complicated range expression such as [a-zA-Z0-9]
One expression or another	(|)	W(in|indows) will find Win or Windows
One or more expressions	+()	+(at) will find atat in catatonic and at in battle
All characters (perhaps on different lines)	*[]	h[]d finds "helped", "Hello World", and "Hello (cr lf) Win95 World". Use [] instead of complicated range expression such as [a-zA-Z0-9]. This will span across lines up to the limit set by Maximum Regular Expression Size (Search Options).
Two strings nearby (perhaps on different lines)	*[]	the*[\0-ÿ]first will match "the first" and "the (cr lf) very first Note: see 'All Characters' (*[]) above. This example is an older style syntax. Special characters are entered via the Binary Mode dialog (the [image] button next to the Search and Replace Strings).
A string that doesnt start with an expression	!()	!(http): will match : in "following:" but not in "http://www.funduc.com"
One of the characters not in a range	![-]	[b-p]at finds bat, cat, fat, hat, mat but not rat or sat
An expression at the beginning of a line	^	^the finds the at the beginning of a line and The if case sensitive is turned off.
An expression at the end of a line	$	end$ finds end when its the last string on a line.
One or more column(s) before or after a string	+n	[h]+4// finds http:// but not https://


Regular Expressions Search Examples
Additional Regular Expression Search Examples

Also see

 Some Basic Regular Expression Search Examples

 Search and Replace Regular Expression Examples

 Regular Expression Search Operators

 Regular Expression Replacement Operators

 Regular Expression Incrementing Counters

Additional Regular Expression Search Examples

Search String	Will Match
L[]	line, list, lane, LogVar1 (when case sensitive is off)
[on]	non, no, on
\[	[
+[a-z]	abcdefghijklomopqrstuvwxyz Note: If used with Case Sensitive off, it will also match  ABCDEFGHIJKLMNOPQRSTUVWXYZ
[a-zAZÀ-ÿ]	matches the same as the example directly above (regardless of case sensitive flag) and also all other special characters for Western European languages. See the Binary Mode dialog for the order of those characters in the ASCII table.
+(one|two|three)	one, onetwo, twothree
?(one|two|three)	one,two,three
Windows*[\0-ÿ]95	Will match up to 4096 characters (on several lines) between Windows and 95.
All * replaces	all the replaces (the * character matches all chars on the same line unless a [] expression overrides that - see above)
/**[\0-ÿ]*/	Will match C style comments on several lines if necessary (up to 4069 characters).
01*[0-9].htm	01346.htm, 01.htm, 016965.htm
*[ab]c	c, abc, bac, abbc, bbac


Regular Expressions Examples: Search and Replace Examples
Search and Replace Regular Expression Examples

Also see

 Some Basic Regular Expression Search Examples

 Additional Expression Search Examples

 Regular Expression Search Operators

 Regular Expression Replacement Operators

 Regular Expression Incrementing Counters

Regular Expression Search & Replacement Examples

Search String	Replace String	Effect
*.*	%1>.%2>	c:\windows\win.ini  =>  C:\WINDOWS\WIN.INI
+[a-z]	%1>	Windows  => WINDOWS
7*.htm	5%1.htm	711.htm => 511.htm 7days.htm => 5days.htm
[253]7[832].htm	%15%2.htm	3572.htm => 3552.htm
*[253]7[832].htm	%15%2.htm	72.htm => 52.htm
(homepage|index).htm	%11.htm	homepage.htm => homepage1.htm index.htm => index1.htm
+(12)[0-9]	%1%2a	12532 => 12532a 1212753 => 1212753a
???*(d|m).htm	%1%2%3d1.htm	card.htm => card1.htm form.htm => form1.htm
back2.jpg*[]height="30"	back2.jpg%1height="32"	A multiline Search/Replace changing the height setting for 'back2.jpg' regardless of differing 'alt' text or how the html editor line breaks the code, e.g.,:    src="images/back2.jpg" alt="Go Back"    border="0" width="57"    height="30" becomes:    src="images/back2.jpg" alt="Go Back"    border="0" width="57"    height="32"
?(Windows)	OS/2	Windows => OS/2    (just kidding)


Regular Expression Counters
Regular Expression Search & Replace Incrementing Counters

Regular Expression search & replace Counter operations allow you to quickly revise a sequence of numbers in one or more files. You can also insert sequential numbers to text strings where no numbers exist originally. Counter operations make use of *[0-9] regular expression search operator and either the %n> or %n>user defined starting value> regular expression replacement operators.

The %n> replacement operator begins incrementing by one with a value of +1 from the value found by your *[0-9] expression (e.g.*[0-9]+1). For example, if the value found by the *[0-9] search expression is 10, %n> will begin at 11.

The %n>user defined starting value> replacement operator increments by one beginning with a value of (user defined starting value+1). This counter operator also respects the number of digit places you supply. For example, the expression %1>1> would begin incrementing with 2. The expression %1>000> would begin incrementing with 001.

Incrementing counter operations may be combined with other regular expression search & replace operators. For example, a search expression such as (file|variable)*[0-9] with a counter replacement expression such as %1%2>100> is perfectly legal.

Regular Expression Counter Examples

Initial Contents:	Windows 98 will be released in 5 days.
Search String:	*[0-9]
Replace String:	%1>
Results:	Windows 99 will be released 100 days.
Initial Contents:	file.htm, file.htm, ffillee.htm
Search String:	e*[0-9].htm
Replace String:	e%1>.htm
Results:	file2.htm, file3.htm, ffillee4.htm
Initial Contents:	Var22  Var20  Var86  Var30
Search String:	Var*[0-9]
Replace String:	Var%1>49>
Results:	Var50  Var51  Var52  Var53
Initial Contents:	Var22  Var20  Var86  Var30
Search String:	Var*[0-9]
Replace String:	Var%1>00>
Results:	Var01  Var02  Var03  Var04
Initial Contents:	VarA101 VarB12 VarC0 VarA102 VarB45
Search String:	Var[a-z]*[0-9]
Replace String:	Var%1%2>08>
Results:	VarA09 VarB10 VarC11 VarA12 VarB13

Also see

 Regular Expression Search Operators

 Regular Expression Replacement Operators

 Regular Expression Examples


Touch Files Dialog

"Touch" allows you to change the time & date stamp of a file. The steps are straightforward: 1) Enter (or select from combo boxes) one or more file masks and a path. 2) Select "Touch" from the Actions Menu or the Touch button. 3) The Touch dialog will prompt you for a date and time to use for all the files.

Important Note:  Touch operates on all files described by the filemask and path. Touch does not distinguish files by the search or replace fields.

Details on the Touch Dialog fields:

Date field:  Select the date to be used (in format mm/dd/yy or mm/dd/yyyy).

Time fields:  Select the time to be used (in format hh or hh:mm or hh:mm:ss) and AM or PM (do not use military time).

OK button:  The dates and times will be set for all the files found using the file masks specified.

Cancel button:  No files will be touched.

Update button:  The date and time fields will be refreshed using the current date and time according to the PC's clock.


Binary Mode (Special Characters or Multiple Lines) Dialog
Binary Mode Dialog

The binary mode dialog is activated by the [image] buttons next to the Search and Replace string fields in the main window and in the Script Editor. This dialog is used to enter multiple lines for search and replace strings and binary characters (such as tabs, special characters, etc.). See Using Special Characters for more details. To Search/Replace line feeds, use \r\n and for TAB characters, use \t. If you need to use the \ character (e.g., in a path), you must double it (\\).

Note that you may wish to increase the "Maximum Regular Expression Size" under Search Options if you have a regular expression search involving binary characters that is complex or spans many characters. In particular, for multi-line searches, you may wish to increase the value.

Search/Replace Block field:  You can type, paste (using paste button or Ctrl+V) text already in the Clipboard or use the Binary Codes list (below) to add characters to this field. Note that you can perform the usual editing operations in this field by using the keyboard as follows:

Copy - Ctrl+C

Paste - Ctrl+V

Undo - Ctrl+Z (last operation only)

Special Operations group (Search field only):  You can instruct Search and Replace to prepend (add to the beginning of the file) or append (add at the end of the file) a block of text to each file processed or to simply use the Search String entered. You can confirm replacing the same way you can with regular search strings.

Binary Codes fields:  This List allows you to add special characters to the Search/Replace field by either double-clicking or selecting an item and then clicking the Add Code button

Add Code button:  The Binary Code specified will be added to the Search/Replace Block field.

OK button:  The Search/Replace field will be used as specified.

Cancel button:  No changes are made.

Paste Text:  The text currently in the clipboard is pasted in the Search/Replace Block field. If anything is selected in the Search/Replace field, the selection will be replaced by the text pasted. If no text is in the clipboard, nothing will happen.

Double all \s button:  The \ character is used to input special (binary) characters. To use a \ character (for example in a path), you must enter it as \\. This button will facilitate that by parsing the current text entered in the Search/Replace block field and changing all \s to \\.


Special (Binary) Characters: Using
Using Special Characters

You can process (either Search for or Search and Replace) binary characters, line feeds (in DOS CR LF combinations - \r\n), tabs, etc by using the Binary Mode dialog which is available from the [image] buttons next to the Search and Replace String fields in the main window and the Script Editor.

The most important special characters are \r\n (the DOS linefeed sequence), \r (the MAC linefeed sequence), \n (the UNIX linefeed sequence), \t (the TAB character) and \\ (note the \ characters MUST be doubled for the parser to work correctly). Since you can use the Binary Mode dialog with Regular Expressions, see the Regular Expression Support for additional special characters.

Here is the list of Special characters:

Representation	Description
\0x00	Character 0
\0x01	Character 1
\0x02	Character 2
\0x03	Character 3
\0x04	Character 4
\0x05	Character 5
\0x06	Character 6
\a	ASCII Bell characters
\b	ASCII Backspace character
\t	TAB
\n	Line Feed (See Note)
\v	Vertical TAB
\f	Form Feed
\r	Carriage Return (See Note)
\0x0e	Character 14
\0x0f	Character 15
\0x10	Character 16
\0x11	Character 17
\0x12	Character 18
\0x13	Character 19
\0x14	Character 20
0x\15	Character 21
0x\16	Character 22
\0x17	Character 23
\0x18	Character 24
\0x19	Character 25
\0x1a	Character 26
\0x1b	Character 27 (ESC char)
\0x1c	Character 28
\0x1d	Character 29
\0x1e	Character 30
\0x1f	Character 31
	(space)
!	!
\"	"
#	#
$	$
%	%
&	&
\'	'
(	(
)	)
*	*
+	+
,	,
-	-
.	.
/	/
0	0
1	1
2	2
3	3
4	4
5	5
6	6
7	7
8	8
9	9
:	:
;	;
<	<
=	=
>	>
\?	?
@	@
A	A
B	B
C	C
D	D
E	E
F	F
G	G
H	H
I	I
J	J
K	K
L	L
M	M
N	N
O	O
P	P
Q	Q
R	R
S	S
T	T
U	U
V	V
W	W
X	X
Y	Y
Z	Z
[	[
\\	\
]	]
^	^
_	_
`	`
a	a
b	b
c	c
d	d
e	e
f	f
g	g
h	h
I	I
j	j
k	k
l	l
m	m
n	n
o	o
p	p
q	q
r	r
s	s
t	t
u	u
v	v
w	w
x	x
y	y
z	z
{	{
|	|
}	}
~	~
\0x7f	Character 127
\0x80	Character 128
\0x81	Character 129
\0x82	Character 130
\0x83	Character 131
\0x84	Character 132
\0x85	Character 133
\0x86	Character 134
\0x87	Character 135
\0x88	Character 136
\0x89	Character 137
\0x8a	Character 138
\0x8b	Character 139
\0x8c	Character 140
\0x8d	Character 141
\0x8e	Character 142
\0x8f	Character 143
\0x90	Character 144
\0x91	Character 145
\0x92	Character 146
\0x93	Character 147
\0x94	Character 148
\0x95	Character 149
\0x96	Character 150
\0x97	Character 151
\0x98	Character 152
\0x99	Character 153
\0x9a	Character 154
\0x9b	Character 155
\0x9c	Character 156
\0x9d	Character 157
\0x9e	Character 158
\0x9f	Character 159
\0xa0	Character 160
\0xa1	Character 161
\0xa2	¢
\0xa3	£
\0xa4	¤
\0xa5	¥
\0xa6	¦
\0xa7	§
\0xa8	¨
\0xa9	©
\0xaa	ª
\0xab	«
\0xac	¬
\0xad	­
\0xae	®
\0xaf	¯
\0xb0	°
\0xb1	±
\0xb2	²
\0xb3	³
\0xb4	´
\0xb5	µ
\0xb6	¶
\0xb7	·
\0xb8	¸
\0xb9	¹
\0xba	º
\0xbb	»
\0xbc	¼
\0xbd	½
\0xbe	¾
\0xbf	¿
À	À
Á	Á
Â	Â
Ã	Ã
Ä	Ä
Å	Å
Æ	Æ
Ç	Ç
È	È
É	É
Ê	Ê
Ë	Ë
Ì	Ì
Í	Í
Î	Î
Ï	Ï
Ð	Ð
Ñ	Ñ
Ò	Ò
Ó	Ó
Ô	Ô
Õ	Õ
Ö	Ö
\xd7	Character 215
Ø	Ø
Ù	Ù
Ú	Ú
Û	Û
Ü	Ü
Ý	Ý
Þ	Þ
ß	ß
à	à
á	á
â	â
ã	ã
ä	ä
å	å
æ	æ
ç	ç
è	è
é	é
ê	ê
ë	ë
ì	ì
í	í
î	î
ï	ï
ð	ð
ñ	ñ
ò	ò
ó	ó
ô	ô
õ	õ
ö	ö
0xf7	Character 247
ø	ø
ù	ù
ú	ú
û	û
ü	ü
ý	ý
þ	þ
ÿ	ÿ


LFCR
Note: In DOS \r\n constitute a line feed. In UNIX, \n alone is used.


Command Line Parameters

For the Windows 95/NT version, command -line parameters can be used as follows:

/b	Backup path, e.g., /Bc:\temp\srbackup. See Replace Options.
/I	Case Insensitive (note that this option is the reverse of what the user interface shows). If not specified, Case Sensitive is assumed.
/x	Regular Expression. If not specified, it is assumed off.
/d	Search Subdirectories. If not specified, it is assumed off.
/w	Match Whole Word (ignored if Regular Expression is used). If not specified, it is assumed off.
/n	"No Prompts". Works only with /r. Note: This resets program options so you should manually restore prompts settings after using /n (see Options dialog).
/rstring	Perform a replace. This can be used either with scripts via /c switch (see below) or by itself with a replace string. If the string contains spaces or / characters, enclose it in double quotes as in /s below. If the string contains " characters, use the \ character to denote the literal. For example, if your replace string contains both quotes and a space, as in "Windows 98", you would use,      /r"\"Windows 98\""
/t	Perform a Touch on the files specified. You can specify a date/time stamp or use the current date/time (default). For the 32-bit version, the user's date format is used and the HH:MM:SSam/pm format is used for time. For the 16-bit version, the same time format is used but the MM/DD/YY or MM/DD/YYYY format is used for date. The Touch dialog is only displayed if the date/time stamp passed on the command line is in the wrong format. The date & time MUST be enclosed in double quotes to work properly,  e.g., SR32 /pc:\work\*.* /t"01/01/00 1:00:00am".
/sstring	Search String to use. This automatically starts a Search. If the string contains spaces or / characters, enclose it in double quotes as with the /r switch above. If the string contains " characters, use the \ character to denote the literal. For example, if your search string contains both quotes and a space, as in "Windows 95", you would use,      SR32 /S"\"Windows 95\""
/pC:\*.ini;*,txt	Path to search with mask(s) appended after the \. If no path or masks are specified, the last program default is used. The /p switch command line parameter accepts partial paths, including .. characters, e.g.,      /Pc:file.txt or /Ppfile.txt or /P..\test\file.txt or /P\file.txt.
/oresults.txt	Output file to send the search results to. If not specified, the last program default is used (this is specified in the Options dialog).
/cscript.srs	Script file to use. If Replace or Touch is not specified(see above), a Search is performed.
/q	Quit after operation. Window will close after the operation is completed.
Note: The flags can be upper or lower case. The /i /x /d /w flags can be used separately or together in any order. Here are some examples:

SR32 /Oc:\dump.txt /SWindows /Pc:\windows\*.ini /ID

SR32 /I /D /Oc:\dump.txt /SWindows /Pc:\windows\*.ini /ID


Replace Confirmation Dialog

This window allows several options for replacing the string found:

Replace This button:  This occurrence of the found string will be replaced.

Replace Rest In File button:  All occurrences of the found string in the file currently processed will be replaced.

Replace Rest In Directory button:  All occurrences of the found string in the files in the current files directory will be replaced.

Replace All Remaining button:  All occurrences of the found string in the file currently processed and the files processed after that will be replaced. No more prompts will be displayed until the end of the operation.

Skip This button:  This occurrence of the found string will not be replaced.

Skip Rest of File button:  All remaining occurrences of the found string in the file currently processed (including the current one) will not be replaced.

Skip Rest In Directory button:  All occurrences of the found string in the files in the current files directory processed (including the current one) will not be replaced.

Cancel Remaining button:  All occurrences of the found string in the file currently processed and the files processed after that will not be replaced.

Found String List:  The list box containing the Search Results allows you to double-click an item to  display the View Context dialog (if double-clicking on a line where the search string is displayed) or Shell the executable associated with it (in File Manager). You can also use the right mouse button to display a menu or use the Ctrl+C key to copy the list box contents to the Clipboard. To change the colors and many other options, click the Options button.


Search and Replace About Box

This window contains system and copyright information. The underlined link to our web site will launch the default www browser for your computer and take you to http://www.funduc.com. The underlined EMail link will launch the default Internet EMail program for your computer. Click the Ordering Info button for Ordering Information or the License Info button for License Information.

For customer support, please contact us via Email at support@funduc.com.


Confirmation Dialog

This window allows you to confirm whether or not you want to perform an operation (such as replace Read-Only files). A "Yes To All" button allows you to avoid being prompted again. The "Cancel" button will Cancel the entire remaining replaces.


View Context

This window allows you to view and edit (in the registered version) the lines around where the search string was found. To activate the View Context window, highlight a search string find in the Search Results area of the main window and then either double click or select View Context from the right click menu or the View Menu.  For the Win95/NT version of Search & Replace (SR32), the Enter key also activates the context viewer.

The number of lines displayed in View Context before and after the search string found is configurable under General Options.

Note that you can perform the usual editing operations in this field by using the keyboard as follows:

Copy - Ctrl+C

Paste - Ctrl+V

Undo - Ctrl+Z (last operation only)

Save button:  The changes will be made (registered version only). If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in Options. If you edit it, you must then update the ZIP file since it is NOT automatically updated.

Cancel button:  The changes will not be made.

Page Up button:  Displays the block of lines above the current block.

Page Down button:  Displays the block of lines below the current block.


Licensing Information
License Information

Search and Replace for Windows
 Copyright (c) 1995-1997 by Funduc Software Inc.
 All rights reserved.

See Ordering Information for more information on how to purchase Search and Replace.

License Agreement and Warranty Disclaimer

You should carefully read the following terms and conditions before using this software. Use of this software indicates your acceptance of these terms and conditions. If you do not agree with them, do not use the software.

Shareware Version

You are hereby licensed to: use the Shareware Version of the software for a 21 day evaluation period; make as many copies of the Shareware version of this software and documentation as you wish; give exact copies of the original Shareware version to anyone; and distribute the Shareware version of the software and documentation in its unmodified form via electronic means. There is no charge for any of the above.

You are specifically prohibited from charging, or requesting donations, for any such copies, however made; and from distributing the software and/or documentation with other products (commercial or otherwise) without prior written permission.

Unregistered use of Search and Replace after the 21-day evaluation period is in violation of federal copyright laws.

Evaluation and Registration

This is not free software. This license allows you to use this software for evaluation purposes without charge for a period of 21 days. If you use this software after the 21 day evaluation period a registration fee is due (see Ordering Information).

Customer support can be obtained by visiting our homepage at http://www.funduc.com or by E-MAIL (support@funduc.com).

One registered copy of Search and Replace may be dedicated to a single person who uses the software on one or more computers or to a single workstation used by multiple people.

You may access the registered version of Search and Replace through a network, provided that you have obtained individual licenses for the software covering all workstations that will access the software through the network.

Governing Law

This agreement shall be governed by the laws of the State of Michigan.

Disclaimer of Warranty

This software and the accompanying files are sold "as is" and without warranties as to performance of merchantability or any other warranties whether expressed or implied. In particular, there is no warranty for the string Replacing feature.

Good data processing procedure dictates that any program be thoroughly tested with non-critical data before relying on it. The user must assume the entire risk of using the program. Any liability of the seller will be limited exclusively to product replacement or refund of purchase price.


Customer Support
Customer Support Information

If you have a question that is not answered in the documentation, there is a FAQ (Frequently Asked Questions) document available on our Web site at: http://www.funduc.com. If you need further assistance, contact us directly by E-MAIL at support@funduc.com. Please give as much detail as possible about the operation you want to perform (example lines before and after the replace operation, search and replace strings used, etc.).

Registered users are eligible for support and quarterly updates for a period of six months.

Shareware Users: We will do our best to answer your questions, however, please be aware that ongoing support necessitates that you register Search and Replace.

To report a bug, E-MAIL: bugs@funduc.com.

We welcome suggestions and ideas for improving Search and Replace. If you have a suggestion, please first check the documentation and the READ.ME file to make sure they are not already implemented or planned. If not, drop us a note at support@funduc.com.

For ordering information, please see the section Ordering Information.

Thank you for using Funduc Software products!


Acknowledgements
Acknowledgments

The portion of Search and Replace that searches through Zip files is based on the work of the Info-Zip group and used with their permission. Thanks to the entire Info-Zip group, in particular to Jean-loup Gailly, Greg Roelofs, and Mark Adler. If you are interested, you can obtain the Info-Zip code from many sources, including: CompuServe (ibmpro forum); BIX: (ibm.pc listings); Internet (ftp.uu.net:/pub/zip). If you cannot obtain this file from other sources you can send a self-addressed-stamped envelope with a disk to the address in the "About" dialog box.

Thanks to Ernie Allen (eallen@mediaone.net) for graphics design for Funduc Software, beta testing, advice, and work on our web site (http://www.funduc.com).

Thanks to Ken Webster (kenwebster@csi.com) for beta testing, suggestions, preparation of the help file, and HTML work on our web site (http://www.funduc.com).

Thanks to HolgerSehlke (Holger.Sehlke@kiel.netsurf.de) for preparation of the German translation of Search & Replace.

Finally, thanks to you, our customers, for your suggestions & support!


Select Path Dialog Box

The Select Path Dialog provides a convenient way to select and insert a directory into the various "Path" lines. The dialog is a standard Windows path browser. For the Win 95/NT version, expand or contract directory by clicking on the [image] or [image]. Alternatively, you can use the arrow keys. For the Win3x version, click on the [image] or the [image] folder graphics. Click OK when done.

Win 95/NT Version	Win3x Version


File Open / Select Viewer Dialog Box
File Open/Select Viewer Dialog

File Name:  Select or type the name of the document you want to open. This box lists documents with the filename extension selected in the List Files Of Type box. To see a list of files with a particular extension, type an asterisk (*), a period, and the three-character extension, and then press ENTER. To see files with more than one filename extension, type a semicolon (;), a second asterisk (*), a period, and another three-character extension. For example, if you  want to see all files with the .TXT extension and all files with the .INI extension, type *.txt;*.ini.

List files of Type:  Select the type of files you want to see in the File Name list.

Directories:  Select the directory where the files you want reside.

Drive:  Select the drive where the files you want reside.

OK button:  The file you selected will be used.

Cancel button: The file will not be used.


File Save Dialog

File Name:  To save a document with a new name, in a different file format, or in a different location, type a new filename. To save a document with an existing filename, select the name in the list or type the current name.

Save files of Type:  Select the type of files you want to see in the File Name list.

Directories:  Select the directory where the files you want to search reside.

Drive:  Select the drive where the files you want to search reside.

OK button:  The file you selected will be used.

Cancel button:  The file will not be used.


Color dialog

Display colors are set in General Options.

Basic Colors:  Basic colors is a palette of the preset colors available for your screen. Click the color you want to use or use the TAB key to move to the color you want and press the SPACE bar to select it.

Custom Colors:  Custom colors can be set by the user by using the Define Custom Colors Button. They are selected the same way Basic Colors are.

Define Custom Colors Button:  Allow you to create your own colors.

OK button:  The changes will be made.

Cancel button:  The color will not be changed.


Font dialog

Display fonts are set in General Options.

Font Field:  The face name of the font used.

Font Style Field:  The available styles vary depending on the Font selected. The most common are Regular, Italic and Bold.

Font Size Field:  Point size of the font. You can enter a custom value if you dont see it in the list for some fonts.

Strikeout box:  Check it to select a strikeout font.

Underline box:  Check it to select an underlined font.

Color list:  Select the font color.

Script:  Select the appropriate language script for that font.

OK button:  The changes will be made.

Cancel button:  The font will not be changed.


No Help Available

No help is available for this area of the window.


No Help Available

No help is available for this message box.


No Files Found

Search and Replace was unable to locate any files using the parameters you specified. This does not necessarily mean an error occurred - it could be that there simply are no 'hits' using your search string and file choice criteria.

If you are surprised to get no results, go to Output Options and turn on "Display Files Without Hits". This will direct Search and Replace to list the files processed according to your filemask(s), path, and options criteria. If no files are listed, then your criteria resulted in no files being selected for a search (see below). Conversely, if one or more files are listed as being processed and "No Occurrences Found" is displayed in the Search Results area of the Main Window, then your search string simply isn't present in any of the files processed. If you expect some hits on your search string, double check your intentions regarding the Case Sensitive and Match Whole Word flags, and the use & syntax of Regular Expression and Binary Mode searching.

If no files at all are being processed, double check your File Mask, and Path. Click on the [image] to activate the Select Path dialog to double check your path. Double check your Search Options settings for Zip searching & the size of regular expression searches. Also check Filter Options for whether you have exclusion criteria that are eliminating files from your search that you would actually want to process.


File Masks
File Masks: Include & Exclude Masks

File Masks are file name filters that define which files Search and Replace will operate on. If you have "Search ZIP Files" turned on, the mask will be applied to files inside of ZIPs as well as ordinary files in the path specified in the path field on the main screen. The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see above). Be sure not have any blank spaces between the semicolon(s) and the mask(s).

Search and Replace saves your last few file masks in the combo box list ( [image]) to the right of the File Mask field.

Include Masks:  These are the masks as outlined above. For example, to include all files of the filetype .html in a search, you would use the mask *.html. Of note, if you wanted to also include .htm files, you could use the mask *.htm* or use a semicolon separator and create two masks, *.html;*.htm.

Exclude Masks:  the ~ character denotes a mask NOT to search. For example, if you wanted to exclude all .exe and .dll files from your search, you would use the mask *.*;~*.exe;*.dll. Here, all files but .exe and .dll files would be included. Note the use of the semicolon separators.

If you want to specify the ~ character as an explicit part of a filename, use \~ to denote the literal. For example, a mask to include the files named ~1.txt and ~2.txt in your search would be \~*.txt. To create an exclude mask for those files, you would use the mask, ~\~*.txt.


File Masks

File Masks are file name filters that define which files Search and Replace will operate on. If you have "Search ZIP Files" turned on, the mask will be applied to files inside of ZIPs as well as ordinary files in the path specified in the path field. The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see above). Be sure not have any blank spaces between the semicolon(s) and the mask(s).

Search and Replace saves your last few file masks in the combo box list ( [image]) to the right of the File Mask field.

Include Masks:  These are the masks as outlined above. For example, to include all files of the filetype .html in a search, you would use the mask *.html. Of note, if you wanted to also include .htm files, you could use the mask *.htm* or use a semicolon separator and create two masks, *.html;*.htm.

Exclude Masks:  the ~ character denotes a mask NOT to search. For example, if you wanted to exclude all .exe and .dll files from your search, you would use the mask *.*;~*.exe;*.dll. Here, all files but .exe and .dll files would be included. Note the use of the semicolon separators.

If you want to specify the ~ character as an explicit part of a filename, use \~ to denote the literal. For example, a mask to include the files named ~1.txt and ~2.txt in your search would be \~*.txt. To create an exclude mask for those files, you would use the mask, ~\~*.txt.


Case Sensitive Flag
Case Sensitive Flags

The Case Sensitive flags in the Main Window and the Script Editor determine whether Search & Replace will perform an exact case search (& replace). Note that if you want a replacement to be case sensitive, you must define a case sensitive search.


Match Whole Word
Match Whole Word Flags

The Match Whole Word flags in the Main Window and the Script Editor determine whether Search & Replace will search for the exact word or phrase specified. A "whole word" is one that is enclosed by whitespace. For example, if this option is on and you look for "Window", the program will find it in the phrase "...use the Window menu..." but not in the phrase "...Windows 95...". If this option is not checked, both occurrences will be found. Note that Match Whole Word is not available when Regular Expressions are in use.


Case Sensitive Flag
Case Sensitive Flag:  The Case Sensitive flags in the Main Window and the Script Editor determine whether Search & Replace will perform an exact case search (& replace). Note that if you want a replacement to be case sensitive, you must define a case sensitive search.


Match Whole Word
Match Whole Word Flag:  The Match Whole Word flags in the Main Window and the Script Editor determine whether Search & Replace will search for the exact word or phrase specified. A "whole word" is one that is enclosed by whitespace. For example, if this option is on and you look for Window, the program will find it in the phrase "...use the Window menu..." but not in the phrase "...Windows 95...". If this option is not checked, both occurrences will be found. Note that Match Whole Word is not available when Regular Expressions are in use.


Graphic View of Search and Replace Main Window
Graphic View of Search and Replace - Main Window

Use the tab key navigate to topic areas or move your mouse around the screen - it will change to a hand cursor when it is over areas where additional help is available. For detailed help, see Search and Replace Main Window


Search String
Search String:  Enter the string to search for in this field or select a previous search string from the combo list. If you do not enter a Search String, the File Mask and Path fields will be used to execute a File Find, with the results displayed in the Search Results list.

In the screen modeled here, we searched for the string "<body bgcolor="#FFFFFF"" across files of the filetypes *.htm and *.html (the file mask), in the path d:\example.

Note: When a script is active, this field may change to reflect the script in place, e.g., "Use Script file: xxx", where xxx is the name of the script file. See Scripts for more info.


Binary Editor
Binary Editor:  These buttons activate the Binary Mode Editor for the search & replace string fields. Binary Mode is used to search or replace across multiple lines or to enter special characters for the search or replace fields. If you create a string using binary mode input, "Binary mode -->>" is displayed on the respective Search &/or Replace string lines. To revise or check your entry, click on this button again. See Binary Mode dialog for more information on multiple line and/or special character search / replace strings.

You should also note that if you are doing a Search & Replace operation, it is OK to have one component as a "binary mode" string and the other as a regular string (or even a blank string).


Replace String
Replace String field:  Enter your replacement string in this field or select one from the drop down list to the right.

It is also OK to have a replacement string here even though you're just doing a search. For example, the screen modeled here has a replace string "<body bgcolor="#FFFFFFF" entered even though the screen shot was generated from a search-only operation.

Note: When a script is active, this field may change to reflect the script in place, e.g., "Use Script file: xxx", where xxx is the name of the script file. See Scripts for more info.


File Mask
File Mask:  Include and exclude file masks are the name filters that define which files to search. The masks are those used in the DOS dir command (e.g., *.*;*.txt;*.doc;*.??1). More than one mask can be specified by using a semicolon separator (see above). Be sure not have any blank spaces between the semicolon and the masks. Exclude masks use the ~ character to denote with files to exclude from your procedure. For example, to exclude .exe and .dll files and include all other files, you would use the mask *.*;~*.exe;*.dll. If you have filenames that involve the ~ character, use \~ to distinguish the literal. For more information, see File Masks.

In the example here, the mask *.htm* will include all files that have a filename suffix ("filetype") involving .htm. For example, this mask would find the files file.htm, home.html, test.html, or weirdnamedfile.htmltxt.

Note: When a script is active, this field may change to reflect the script in place, e.g., "Use Script file: xxx", where xxx is the name of the script file. See Scripts for more info.


Path Field
Path field:  The path where files to search reside. You may type it by hand, navigate to it by using the path browser button ( [image]), or select a previously used path from the combo list. Note that to search subdirectories under the path, click on the Search Subdirectories checkbox.


Path Browse Button
Path Browse Button:  Click this to navigate to the desired path via the Path Browser.


Case Sensitive Search Field
Case Sensitive field:  Check this if you want the search to be case sensitive. Uncheck it if you want to search regardless of case. Note that if you want a replacement to be case sensitive, you must define a case sensitive search.


Search Subdirectories Field
Search Subdirectories field:  Check this to search all subdirectories under the path you defined. Note that searching subdirectories will usually slow your search since more files will be processed. Uncheck it if you just want to search the specified path.


Match Whole Word Field
Match Whole Word field:  Check this to search for the exact word or phrase specified, meaning, it is enclosed by whitespace. For example, if this option is on and you look for "Window", the program will find it in the phrase "...use the Window menu..." but not in the phrase "...Windows 95...". If this option is not checked, both occurrences will be found.


Regular Expression Field
Regular Expression field:  Check this if you want to use a regular expression. You should note that if you are doing a regular expression operation, the Match Whole Word function is not available. Case Sensitive and Binary Mode can be used in conjunction with Regular Expression. See Regular Expression Support for more information on the syntax supported.


Search ZIPs Field
Search ZIP Files field:  To search files inside of ZIP files that exist in the specified path, check this box. When enabled, any PKZIP-compatible ZIP files that are present in the search path(s) will be examined and any files matching the file masks specified will be temporarily extracted to the extract path specified under Search Options and searched. This option is only available for Searches (not Replaces). This option may slow down your searches, so you should turn it off if you do not need it. Note that to search ZIPs you do not need to specify *.zip on the file mask field - simply check this box. Any file masks specified will be applied to files found inside of ZIPs. See the section on ZIP files for more information.


Drop Down List
Drop Down Lists:  Search and Replace saves your last few choices in the respective input areas to the left of the selection lists. Click here to activate the lists. The number of items saved is configured in General Options.


Path Browser
Path Browser:  Click here to activate a path selection dialog. See Select Path Dialog for more information.


Search Button
Search button:  Click this button to start a search. Note that you can also initiate a search by pressing Enter when the focus is in the Search Results list or the Search String, Replace String, Path, & Mask fields.


Search & Replace Button
Search and Replace button:  Begin a search & replace operation by clicking here. Depending on your settings in Replace Options, you will be prompted before confirmations. We recommend that if you use this feature you also enter a backup path in the Replace Options.


Options Button
Options button:  Click this button to display the Options Dialog.


Touch Button
Touch button:  Click here to Touch (change the date & time stamp) the files found using the mask(s) provided in the specified directory.


Touch Button
Script button:  Click this button to activate the Script Editor.


About Button
About button:  Click this button to view system information, Ordering Information and License Information.


Exit Button
Exit button:  Click this to exit Search and Replace for Windows.


Search Results List
Search Results List:  Your search results are displayed here. The information that is output to the Results list is configurable in Output Options, e.g., filenames, number of hits, hit lines, etc. The display colors are configurable in General Options. (If you're having trouble seeing the results, try changing the colors).

In the model screen here, the right click menu available in the results list was captured for purposes of an example (lower right corner). Normally, this is not displayed until you right click on a file or search results line.

To activate the View Context dialog, either select View Context form the right click menu or double click on a line where the search string is displayed. For the Win95/NT version of Search & Replace (SR32), the Enter key also activates the context viewer. If you were to double click (or press Enter) on the highlighted line in the current example (Line 22 - …), the view context dialog would be displayed with the search string highlighted.

To "Shell to" (launch) the executable associated with a file (in File Manager), double click on a filename line. In the example screen, to activate the web browser associated with .htm files on your computer, double click on the line immediately above the highlighted line, e.g., the line that says, "Processing file: D:\EXAMPLE\Search(grep) and Replace for.htm".

By pressing the Ctrl+C key, the entire contents of the list box are copied to the Clipboard.


Right Click Menu
Right Click View Context Menu:  To display this menu, right click on a file or search results line. It allows you choices for viewing results. The items are the same as those in the upper portion of the Search and Replace View Menu.


Associated Viewer
Open with Associated Viewer:  This right click menu item opens the current file using the associated viewer (program). If there is not a file association established on your computer for the highlighted file, the default viewer, configurable in General Options, is used (default is NOTEPAD.EXE). The file to open is determined by the focus in the Search Results list (marked by a thin rectangle or a highlight). This item is not available if the Search Results is empty.

In the current example, "Open with Associated Viewer" would launch the web browser associated with .htm files.

Note:  If the file is in a ZIP file, it is extracted to a subdirectory specified in Search Options. If you edit a file in a ZIP, you must use your ZIP utility to update the ZIP as Search and Replace does not update changes to ZIPs.


Default Viewer
Open with Default Viewer:  This right click menu item will launch the Search & Replace default viewer (configurable in General Options). NOTEPAD.EXE is used if no default viewer has been defined. The file to open is determined by the focus in the Search Results list (marked by a thin rectangle or a highlight). This item is not available if the Search Results is empty.

Note:  If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in Search Options. If you edit a file in a ZIP, you must use your ZIP utility to update the ZIP as Search and Replace does not update changes to ZIPs.


Open With
Open with...:  This right click menu item open the current file using a viewer of your choice. A Select Viewer dialog will allow you to select the viewer to use. This item is not available if the Search Results list is empty or if the focus is on a filename line.


View Context
View Context:  This right click menu activates the Search & Replace internal context viewer. The highlighted file will be opened at the point of the found search string and the string will be highlighted. The highlight color, number of lines displayed in the context viewer, and the viewer font are configurable in General Options. If the Search Results list contains nothing or if you have the focus on a filename line, this item is not available.

In example screen here, the file D:\EXAMPLE\Search(grep) and Replace for.htm would be displayed in the context viewer at line 22.

Note:  The context viewer displays text only. However, the Search and Replace automatically detects binary files and launches our freeware application, HexView for Windows 95/NT, which can display and print any file as a hex dump. HexView can be downloaded from our web site at http://www.funduc.com. See Product Information for further details.

Note:  If the file is in a ZIP file, it is extracted to a subdirectory of the path specified in Search Options. If you edit it, you must use your ZIP utility to update the ZIP since ZIP files are NOT automatically updated.

See View Context Dialog for more information.


File Menu
Actions Menu:

Search:  Starts a search.

Search and Replace:  Starts a search and replace. See Replace Options to set a backup path & replacement prompting.

Touch:  See "Touch Files" to change the time & date stamp of all the files found using the mask(s) in the path

Exit:  Exit Search and Replace.


Edit Menu
Edit Menu:

Copy Search Results:  Copy  the Search Results (if any) to the clipboard.


View Menu
View Menu:  (See View Menu for more info)

Open with Associated Viewer:  Opens the highlighted file using the associated viewer (program) for your computer.

Open with Default Viewer:  Opens the highlighted file using the Search and Replace default viewer (configurable in General Options). Default is NOTEPAD.EXE.

Open with...:  Opens the highlighted file using a viewer of your choice, selected via the Select Viewer dialog.

View Context:  Views the highlighted line in the Search Results (if any) using the Search and Replace internal context viewer.

Script:  Displays the Script Editor.

Options:  Display & modify Program Options.


Help Menu
Help Menu:  Activates Search & Replace help.


Copy Results to Clipboard
Copy to Search Results to Clipboard:  Selecting this from the right click menu is the same as pressing CTRL-C anywhere in the Search Results list. The contents of the list are copied as text into the clipboard.


About ZIP Functions
ZIP Files

ZIP files, or ZIP archives, are files that contain one or more other files that are stored inside of the ZIP. The files inside of ZIPs are typically stored in a compressed form that reduces the size of the original file(s) to save on amount of disk space needed. Search and Replace for Windows is able to search through ZIP files created using the PKZIP standard.

To enable ZIP searches, check the "Search ZIP files" field on the Search and Replace Main Window. When enabled, any ZIP files created with PKZIP or compatible utilities that are present in the search path(s) will be examined and any files with the masks specified will be temporarily extracted to the extract path specified under Search Options and searched. Note that to search ZIPs you do not need to specify *.zip in the file mask field - simply check this box. Any file masks specified will be applied to files found inside of ZIPs.

Searching ZIPs requires extra processing and may slow down your search so you may wish to turn if off when you do not need it.

ZIP operations are only available for Searches. If you wish to do replacements on files inside of ZIPs, you will need to extract the files using a ZIP utility such as our Directory Toolkit for Windows95/NT. Also note that while you may view the context of searches of files in ZIPs, any edits you make using the context viewer will not be saved to the original ZIP.

Finally, note that Search and Replace will not search "password" encrypted files in ZIPs, e.g., files stored with the PKZIP -s switch.


Language Support

We are currently developing German and Japanese versions of Search and Replace. Please contact Mike Funduc by EMail at mike@funduc.com if you would like to create a version for your native language. DLLs and documentation for different languages will be posted on our web site, http://www.funduc.com.


About Search and Replace
      Search and Replace for Windows

Search and Replace for Windows 3.1, 95, NT
Version 2.87
Copyright © 1995-1997 Funduc Software, Inc.
All Rights Reserved
http://www.funduc.com

See Ordering Information for details on how to purchase Search and Replace for Windows or write us at info@funduc.com. See License Information for details about licensing. For customer support, EMail us at support@funduc.com or visit our web site at www.funduc.com for FAQs & program updates. Also check our web site for product information, trialware & freeware downloads of our other award winning software products.


Product Information
FUNDUC SOFTWARE

  Product Information

Please visit our Web site at http://www.funduc.com for more information, freeware, shareware, and purchases of these and other products.

      Directory Toolkit for Windows 95/NT

Directory Toolkit for Windows 95/NT is an application that provides features missing from Windows 95 and Windows NT 4.0 or higher. Directory Toolkit allows files in two directories to be compared, it provides file renaming, and it copies, moves and deletes multiple files using wildcards while preserving long file names (the DOS commands don't). Now with ZIP file functions, Directory Toolkit can create new ZIP archives, add & extract files to/from ZIPs, and transparently process all file comparison functions (e.g., rename, move, copy, delete, compare) on files stored ZIPs without requiring the user to manually extract files. Directory Toolkit will automatically detect and run installation programs stored in ZIPs. Directory Toolkit can be established as your primary ZIP file association, making for seamless operability with Windows Explorer. It also Encodes & Decodes files, splits/concatenates files to/from diskettes, and sorts directories. Directory Toolkit has Explorer compatible OLE Drag and Drop and it can open files and launch applications, including files stored in ZIPs.

Directory Toolkit for Windows 95/NT was a July 1997 winner of of the WUGNET® Best Choice Shareware award for Windows 95 (www.wugnet.com) and was featured in the 8/20/97 issue of Lockergnome's Free Windows 95/NT E-zine (www.lockergnome.com).

      Search & Replace for Windows

Search and Replace for Windows 3.1, 95, NT is our award winning utility loved by programmers, webmasters, and novice computer users alike. If you need to find and replace text, or just find text, this utility is a must have.

Search and Replace looks through multiple files (specified by one or more masks) for a string and can also replace it with another string. It can also search subdirectories and ZIP files and do case sensitive or insensitive searches. Replacing a string can be made one string at a time, one file at a time or all at once (no prompts). Some replaces may be skipped or all the rest of the occurrences can be replaced for the rest of a file. It has extensive support for egrep regular expression operations and includes a script language for use with frequent &/or complex search or replace procedures.

Search and Replace has received awards from WUGNET (Windows User Group Net), - Pick of the Week for August 11 1996;  Windows Magazine (www.winmag.com) - Superior Shareware in the August 1996 issue;  ZD-NET - rated 4 stars;  TUCOWS (www.tucows.com) - rated 5 Cows, and a September 1997 WUGNET® Best Choice Shareware award for Windows NT (www.wugnet.com).

      Patch Creator

Patch Creator is a application for creating your own patches for updating registered versions of your software with this GUI program. It can create 16 or 32 bit patches, require password or not compressed or not and is self-contained. Files on users' machines can be updated from a specific version, added regardless of existing version, removed or renamed. Ideal for distribution needs and for shareware authors. Demo version creates patches without passwords.

    Shortcut Doctor

Shortcut Doctor checks your Windows 95/NT links/shortcuts and reports on those containing targets that can no longer be found. You'll probably be surprised at the number of "invalid" links on your computer. Shortcut Doctor can create new shortcuts, resolve invalid shortcuts, edit individual shortcuts, replace all shortcuts pointing to a certain drive or directory with another (after validation of new path is made), and delete shortcuts to the recycle bin. CD-ROM drives or network drives can be ignored and Network Drive mappings can be automatically inserted in Shortcut Doctor's Replace dialog. You can drag and drop shortcuts from Explorer onto Shortcut Doctor to edit them. Internet shortcuts such as those in the Internet Explorer Favorites list can also be created or edited. Shortcut Doctor has a handy output feature that routes results to a text file. The "Shortcut To" prefix and display colors can also be modified. Shortcut Doctor can also empty the Windows 95/NT Recent Documents list.

Decode/Encode DLLs

Decode/Encode DLLs integrate auto-decoding of UUENCODED, Base64(MIME), Binhex, XXENCODED, user table encoded and encoding(UUENCODED or Base64/MIME) in your Windows 3.1x, 95 or NT application. 16 and 32 bit DLLs are included, test programs are provided for C/C++ (MFC) and Visual Basic. One time fee provides a registered copy for royalty-free distribution with your applications and one year free customer support.

      Decode Windows 95 Shell Extension (freeware)

Decode Shell Extension (v2.3) now supports multiple attachments, multi-part files (already concatenated), XXENCODED and User (table) encoded files in addition to UUENCODED, Base64(MIME) and BinHex (Mac format) files.

Decode allows you to decode a UUENCODED, XXENCODED, BinHex or Base64(MIME) file by simply right-clicking on it in the Explorer and selecting Decode from the menu.

      HexView for Windows 95/NT (freeware)

HexView is a multiple document Hexadecimal viewer that can display, print, and print preview any file as a hex dump. It is intended as a supplement for Search and Replace for Windows, however, it is a standalone app and does not require Search and Replace.

      INI to Registry (freeware)

INI to Registry will load the contents of any INI file and transfer it into the Windows 95/NT registry. That way programs that previously used INI files can read the old data from the registry. The INI to Registry utility was originally developed to allow users of Search and Replace to upgrade to versions of the software greater than 2.41 (for Windows 95 and NT) without losing their history. The program code is available for purchase.


Ordering and Purchase Information
FUNDUC SOFTWARE

Purchasing & Ordering Search and Replace for Windows

As part of the registration, you will also receive free updates and customer support (by E-MAIL) for six months. Updates are sent to registered customers quarterly. They incorporate your suggestions so please send them. If you have problems receiving the program or need customer support, contact us directly by E-MAIL at support@funduc.com. Quantity discounts are listed on the WWW at: http://www.funduc.com and on the order forms below.

Credit Card Registration:  Several routes are available…

 Secure Internet Transaction:  If you have a secure Web browser such as Netscape or Internet Explorer, you may register by credit card via a secure Web transaction from our web site at:  http://www.funduc.com.

 Fax Registration:  You may register using a credit card via fax. Open and print the fax form and fax the completed order to (313) 462-1886. You may also use edit and print the file ORDER.TXT in the Search and Replace subdirectory. The cost through this option is $25/single user + $3 to $5 S&H if you want a diskette mailed. E-MAIL delivery is free. Please allow 7-10 days for postal orders to reach you, then contact us by E-MAIL at support@funduc.com if you did not receive the program. E-MAIL deliveries are sent within 2 business days. E-MAIL deliveries require that your mail system is able to receive MIME attachments.

 Phone Registration:  You can call (313) 462-1552 to order using a credit card. The cost through this option is $25/single user + $3 to $5 S&H if you want a diskette mailed (E-MAIL delivery is free). Please allow 7-10 days for postal mail to reach you, then contact us by E-MAIL at support@funduc.com if you did not receive the program. E-MAIL deliveries are sent within 2 business days. E-MAIL deliveries require that your mail system is able to receive MIME attachments.

Ordering by check:  Note that check orders are discounted at a base price of $20 for a single user license (+$3 - $5 if you want a diskette mailed). To order by check, please open and print the order form. You may also edit and print the file ORDER.TXT in the Search and Replace subdirectory. Mail the completed form and a check to Funduc Software Inc., P.O. Box 530904 Livonia, MI 48153.  Please allow 7-10 days for mail to reach you, then contact us by E-MAIL at support@funduc.com if you did not receive the program. Payments must be in US dollars drawn on a US bank or international postal money order in US dollars.

CompuServe Registration:  CompuServe subscribers may register by typing GO SWREG and using the Registration ID 7964. The cost for CompuServe orders is $23/user due to CompuServe charges. CompuServe orders are filled by E-MAIL within 24-48 hours, regardless of delivery method selected. Therefore, please check your CompuServe mail a day or two after placing your order.


Search and Replace Mail Order Form
Search and Replace for Windows Mail Order

FUNDUC SOFTWARE, Inc.

Search and Replace for Windows Mail Order (Ver 2.87)

To place an order by mail, complete the form & a check and mail it to:

Funduc Software Inc.
P.O. Box 530904
Livonia,  MI 48153

Note:  Payments must be in US dollars drawn on a US bank or international postal money order in US dollars.

License	* Price ($US) *	Quantity	Amount
1 to 9 computers	$ 20.00	_______	$_________
10 to 24 computers	$ 18.50	_______	$_________
25 to 49 computers	$ 17.50	_______	$_________
50+ computers	$ 15.00	_______	$_________
	* Note: Discount prices *
	Michigan residents add 6% sales tax	$_________
Preferred Shipping Method
	Mail 3.5 disk (US) $3 S&H	$_________
	Mail 3.5 disk (overseas) $5 S&H	$_________
	E-MAIL (Free)	$_______0_
		TOTAL PAYMENT	$_________
Your Name:	__________________________________
Street Address:	__________________________________
Street Address:	__________________________________
City, State, Zip:	__________________________________
Country:	__________________
Day Phone Number:	_______________________
Eve Phone Number:	_______________________
Fax Number:	_______________________
E-MAIL Address:	__________________________________
Date:	________________

How did you find out about Search and Replace for Windows?

Comments:


Search and Replace Fax Order Form
Search and Replace for Windows Fax Order

FUNDUC SOFTWARE, Inc..

Search and Replace for Windows Fax Order (Ver 2.87)

To place an order by fax, print the form and fax it to (313) 462-1886

License	Price ($US)	Quantity	Amount
Single computer	$ 25.00	_______	$_________
2 to 9 computers	$ 23.00	_______	$_________
10 to 24 computers	$ 21.00	_______	$_________
25 to 49 computers	$ 18.00	_______	$_________
50+ computers	$ 15.00	_______	$_________
	Florida residents add 7% sales tax	$_________
Preferred Shipping Method
	Mail 3.5 disk (US) $3 S&H	$_________
	Mail 3.5 disk (overseas) $5 S&H	$_________
	E-MAIL (Free)	$_______0_
		TOTAL PAYMENT	$_________
Credit Card (Check One):	Visa[  ]	MasterCard[  ]
		American Express[  ]	Discover[  ]
Your name as it appears on your card:	_______________________________
Credit Card Number:	__________________________________
Expiration Date:	__________________
Billing Address as it appears on your card:
Street Address:	__________________________________
Street Address:	__________________________________
City, State, Zip:	__________________________________
Country:	__________________
Day Phone Number:	__________________
Eve Phone Number:	_______________________
Fax Number:	_______________________
E-MAIL Address:	__________________________________
Authorized Signature:	____________________________________________
Date:	________________
Comments: