6.3. Using the Find and Replace Features

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.

6.3.1. Working with the Find, Replace, and HTML Tags tabs

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.

The Replace functionality of SharePoint Designer ...

Get Microsoft® Office SharePoint® Designer 2007 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.