Search and Replace

The Search and Replace feature is arguably one of the most powerful features in FusionReactor. It allows you to make temporary changes to your pages without having to modify source code. Fix broken links, spelling mistakes or html problems. Search and Replace Filters enable you to change the content sent to the web browser by replacing or removing text on the fly. The Search and Replace page has two main areas: At the top of the page there is a form for you to enter new filters and below this is a list of all existing filters for this feature. To enter a Search and Replace filter you will need to fill the following fields:

 

Find What

Firstly you should select if you want to search for an Exact String, or if you want to use Regular Expressions to search for a pattern. For examples of Regular expressions, see Regular Expressions and Content Filters. Once you have selected the search type, you should enter the your search string in the text field provided.

Replace With

This field contains the text you want to replace your search string with. If you just want to search for a string and remove it from your page then simply leave this field blank.

Replace

This option lets you decide if you want to replace all instances of your search string, or just the first one found on the page.

Managing Existing Search and Replace Filters

Below the Add Group form you will see a list of all existing filters. Each group has two icons next to it:

 

Modify Group

Click this icon to change a group name or to change the servers which are currently a part of this group.

Delete Group

Clicking on this icon will prompt you if you are sure. OK the dialog box to delete the group.