Search and Replace
Search and replace is a new function starting in version 1.3. This is a extremly powerful function and should be used with great care.
Search For - Enter the string to be sought here. Be careful on how you enter a short string. If you enter a short word like 'and' you will find strings like standerd! If replacing short single words its best to place a space at the beginning. This will assure you get the correct match. This is not as great a problem with complex multi-word strings.
Note: you may paste the string with 'Ctrl-V'
Replace With- Enter the string to replace the search string with here. If left blank the result is the eraser of the Search For string in all files it is found in.
Note: you may paste the string with 'Ctrl-V'
Ignore Case- If checked the case of the Search string is ignored.
Backup Original- If checked, all the scanned files are copied to a file of the same name but with a 'BAK' extension. This allows you to restore the original contents if your search and replace is incorrect.
Update Assoc- If checked the search function will check to see if the search string and/or the replace string contains a POST url, a SPONSOR url or a BANNER file name. If it does it adds or removes records to the associated databases. So if you replace one sponsor with another the correct sponsor should show up in the sponsor list for each page!
Note: this function slows the search and replace process considerably.
Restore from *.BAK Pressing this button restores to a state before the last search and replace.
Warning: this function will change all files back to the state they were in prior to the last search and replace of this set of files!
Last Search- Renters the search and replace strings from the last search. This is useful if you are doing search/replaces across multiple sites.
Start- Start doing the search. When the search is done you will get a list of all files scanned. It will indicate weither the file is modified or not. Also it may have a list of letters proceded by a + or - sign. This indicates weither an Associated record was created or deleted from the POST (P) or SPONSOR (S) association file. You may view/edit the modified HTML by double clicking the file name in the list.