SharePoint Designer offers an advanced Find and Replace tool that allows you to find and replace content and code in the Design and Code views. This feature provides for searching in a Web page, a set of Web pages, or all across a Web site open in SharePoint Designer. You can match content to be searched by using expressions created with the regular expression syntax. Also, you can create rules for specifying search criteria to match HTML tags and then choose to replace a tag, an attribute within a tag, or the inner content of a tag.
The user interface for Find and Replace is composed of the Find and Replace dialog box and the Find 1 and Find 2 task panes.
You can access the Find and Replace dialog box, as shown in Figure 6.7, by choosing Edit Find or Edit Replace. To begin with, you can enable the Find 1 and Find 2 menus by using the Task Panes menu. A Play button on both these panes also takes you to the Find and Replace dialog box. The Find 1 and Find 2 task panes provide for running and comparing two search operations at the same time.