This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

Adobe Dreamweaver CS3

Find and Replace: Saving a Search

If you frequently use the same Find and Replace search, you may find it helpful to save the search's specifics. By saving your search, you will no longer have to reconstruct it each time you want to use it. This document shows you how to save and reuse a Find and Replace search.

return to topSaving a Search

You can save Find and Replace searches that you use often or those that include multiple conditions and would be time consuming to reconstruct (e.g., Text (Advanced) or Specific Tag).

  1. From the Edit menu, select Find and Replace...
    Press [Ctrl + [F]
    The Find and Replace dialog box appears.
    Find and Replace dialog box

  2. Create your search
    To see how to create a search, refer to Using Find and Replace: An Overview

  3. Click SAVE QUERY Save Query button
    The Save Query dialog box appears.
    Save Query dialog box

  4. Using the Save in pull-down list, select a location for the file
    NOTE: These files will save as .dwr files.

  5. In the File name text box, enter a name for the Find and Replace search
    HINT: Be sure to be specific when naming your search so it is easily accessible the next time you need to use it. Also, consider creating a new file folder just for these search queries. This way, they will be easier to locate in the future.

  6. Click SAVE

  7. Click CLOSE

return to topUsing a Saved Search

For your convenience, the Find and Replace tool allows you to use saved searches.

  1. From the Edit menu, select Find and Replace...
    Press [Ctrl] + [F]
    The Find and Replace dialog box appears.
    Find and Replace Dialog Box

  2. Click LOAD QUERY Load Query button
    The Load Query dialog box appears.

  3. Using the Look in pull-down, list navigate to the file

  4. Select the appropriate Find and Replace file
    NOTE: These files have a .dwr extension.

  5. Click OPEN
    Your search's criteria appear in the Find and Replace dialog box.

  6. Click FIND NEXT
    NOTE: If you are not working in either the Show Code view or Show Code and Design view, the Show Code view window will open and display the first occurrence of the information searched.

    Use the Replace option to replace each occurrence of the information individually. Clicking FIND NEXT will advance to and review subsequent occurrences.
    WARNING: Use the Replace All option with caution. This option will replace your specified information throughout the entire document(s).

  8. Repeat steps 7 and 8 until all desired occurrences are replaced

  9. To close the Find and Replace dialog box, click CLOSE

Excellence. Our Measure. Our Motto. Our Goal.