Saving search patterns

Saving search patterns

You can save a search pattern and reuse it later.

To save a search pattern:

  1. In the Find and Replace dialog box (Edit > Find and Replace), set the parameters for the search.

    If you are performing a tag or advanced text search, see Searching for tags, attributes, or text contained in specific tags for information about setting additional search parameters.

  2. Click the Save Query button (the disk icon).
  3. In the dialog box that appears, navigate to the folder where you want to save queries. Then type a filename to identify the query by and click Save.

    For example, if the search pattern involves looking for img tags with no alt attribute, you might name the query img_no_alt.dwr.

To recall a search pattern:

  1. Select Edit > Find and Replace.
  2. Click the Load Query button (the folder icon).
  3. Navigate to the folder where your queries are saved. Then select a query file and click Open.
  4. Click Find Next, Find All, Replace, or Replace All to initiate the search.

Related topics

  • Searching for tags, attributes, or text contained in specific tags
  • Regular expressions

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Setting Up Your Coding Environment
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly