Search and Replace Regular Expression Wizard Funduc Software, Inc. Copyright 1999-2009, All Rights Reserved http://www.funduc.com http://www.searchandreplace.com Thank you for your interest in Search and Replace 'Wizard'. This program is intended as an add-on to Search and Replace. It allows you to visually see how regular expression searches are processed and which parts of the match are found by each expression. You can build expressions using our user interface, without knowing the regular expression syntax in detail. Replace expressions can also be built visually and the results can be previewed. Page 1 - Sample Text The Search Expression and Replace Expression fields do not need to be filled in. After the first use, they will be filled in either with the last expressions used or with expressions from a running copy of Search and Replace. Case sensitive applies to the search expression. You can either type in sample data into the edit box provided, Paste text from the clipboard using the button provided or Load text from a file using the button provided. The text will be used to search through and show the results in subsequent screens. When you filled in at least the Sample Text field, click Next to continue. Page 2 - Search Expression The Sample Text field will show Search hits when the expression can produce at least one hit. Items shown in blue relate to the curent row selected in the Expression list. The rest of the hit is shown in red. The colors are consistent with the colors configured in Search and Replace's options. The Expressions list shows the current subexpressions that comprise the search expression. By clicking on each expression, the controls on the right will show in plain language what each expression does. By the same token, the controls on the right can be used to specify a new rule for the match or modify the existing one and then either Add, Insert or Apply the changes to the selected item. Page 3 - Replace Expression The Replaced Text field shows the changes in the original sample text. The color coding and general operation of this screen are similar to the previous screen. The Expression Type list contains the correct number of items that can be found based on the Search Expression built on the previous screen. Page 4 - Evaluation This screen shows the Search and Replace results next to each other. You can review previews and next hits (if any). When you review a different hit, you can go back (using the Back buttons) and see how each subexpression is matched and/or modify your parameters. When you click the Finish button, if a copy of Search and Replace is running, the search and replace strings are updated there before exiting. If not, the strings are simply saved for the next time you run the program. We hope this program will help you understand how to use the power of regular expressions and to make better use of Search and Replace! As always, we welcome any feedback (send it to support@funduc.com). Thank you, Mike Funduc Funduc Software Inc. http://www.funduc.com http://www.searchandreplace.com support@funduc.com support@searchandreplace.com