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: Text (Advanced)

Dreamweaver's Find and Replace is a tool you can use to search for text strings while specifying tags that should or should not be included in the search. The Find and Replace tool allows you set conditions which act as filters for your search. The Find and Replace tool is useful when you want to change the same piece of information (text or tags) throughout a document(s). This document explains how to use the Find and Replace tool as well as the Find Next tool.

The following example explains how to replace "helpdesk" with "Help Desk" within the entire current local site, matching the uppercase and lowercase letters.

  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. From the Find in pull-down list, select an area to search
    EXAMPLE: Select Entire Current Local Site
    NOTE: For a description of these options, see Where You Can Search: Find In Options.

  3. From the Search pull-down list, select Text (Advanced)
    The dialog box refreshes with additional options.
    Find and Replace dialog box: text advanced

  4. In the Find text box, type the text you are searching for
    EXAMPLE: Type helpdesk

  5. To restrict your search, from the pull-down list, select Inside Tag or Not Inside Tag as appropriate
    EXAMPLE: Select Not Inside Tag

  6. From the Tag pull-down list, select the tag to include/exclude
    NOTE: Links are contained within the <a> tag. In this example helpdesk may appear in links to the Help Desk website or as part of an email link. By excluding the <a> tag you can avoid breaking these links.
    EXAMPLE: Select a

  7. OPTIONAL: You can set additional restrictions by clicking ADDAdd buttonand repeating steps 5 and 6
    You can remove a restriction by clicking REMOVERemove button

  8. In the Replace text box, type the replacement text
    EXAMPLE: Type Help Desk

  9. OPTIONAL: From the list of options, select options appropriate to your search
    EXAMPLE: Select Match Case
    Find and Replace dialog box: advanced text example

  10. Click FIND NEXT
    The first occurrence of the information searched for is identified

    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).

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

Using Find Next

Dreamweaver will remember your last search within a given document. If you have closed the Find and Replace dialog box, you can resume your prior search using the Find Next option. This option will not replace a specific occurrence within within your text, but will allow you to pass over an individual occurrence of your search and automatically locate the next one.

  1. From the Edit menu, select Find Next
    Press [F3]

Excellence. Our Measure. Our Motto. Our Goal.