Operation Manual

301
USING DREAMWEAVER
Working with page code
Last updated 3/28/2012
You can also search for specific text strings that are within or not within a set of container tags. For example, you can
search for the word
Untitled contained in a title tag to find all the untitled pages on your site.
1 Open the document to search in, or select documents or a folder in the Files panel.
2 Select Edit > Find And Replace.
3 Specify which files to search in, and then specify the kind of search to perform, and text or tags to search for.
Optionally, specify replacement text as well. Then click one of the Find buttons or one of the Replace buttons.
4 Click the Close button.
5 To search again without displaying the Find And Replace dialog box, press F3 (Windows) or Command+G
(Macintosh).
More Help topics
Regular expressions” on page 278
Search for and replace text” on page 210
Save and recall search patterns
You can save search patterns and reuse them later.
More Help topics
Regular expressions” on page 278
Search for and replace text” on page 210
Save a search pattern
1 In the Find And Replace dialog box (Edit > Find And Replace), set the parameters for the search.
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 that
identifies the query, 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.
Note: Saved queries have the filename extension .dwr. Some saved queries from older versions of Dreamweaver may have
the extension .dwq.
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.
Use language-reference material
The Reference panel provides you with a quick reference tool for markup languages, programming languages, and CSS
styles. It provides information on the specific tags, objects, and styles that you are working with in Code view (or the
Code inspector). The Reference panel also provides example code that you can paste into your documents.