Page 39 - CC2018_DW_Look_Inside
P. 39
Understanding Find and Replace Options ) to define specific
DREAMWEAVER FOUNDATIONS The [Find] In menu determines where you want to • Match Case limits the search to text that exactly
You can also click the Filters button (
Options in the Find and Replace dialog box allow you to
parameters for a search.
conduct very specific and targeted searches.
matches the case of the text you want to find. For
perform the search. You can search only the current (active)
example, a search for Untitled Document will not find
document; all open documents; only files in a specific folder;
instances of “untitled document.”
only selected files in the active site, or all files in the current
local site folder.
• Use Regular Expressions causes certain characters
to function as operators, so that you can search for non-
You can also use the Tag menu to limit where you want to
specific text.
search. For example, you can find the text “jpeg” only within
an <img> tag and change those instances to the correct
extension “jpg”.
the period character will identify actual period in the
document.
) buttons
The Find Previous (
) and Find Next (
When Use Regular Expressions is checked, the period
navigate to sequential instances of the text you enter in the For example, when this option is not active, a search for
Find field. character is considered a wildcard that identifies any
single character. A search for “p.p” would identify any
instance where two ps are separated by one other
You can use the Replace button to change the active character (pop, pap, puppy, etc.).
instance of text in the Find field, or use the Replace All
button to change all instances. Possible wildcard characters include:
. Any character (except a newline character)
Clicking the Find All button lists all instances of the search \d Any digit (0-9)
text in the Output panel. Double-clicking an item in the \D Any non-digit character
Output panel navigates to that instance in the document
window. \w Any alphanumeric character or the underscore
\W Any character except an alphanumeric character
Clicking the Replace All button changes all instances of or the underscore
the Find text to the Replace text. Changes are reported in \s Any white-space character (space, tab, etc.)
the Output panel, but changes in files that are not currently \S Any character except a white-space character
open cannot be undone.
\t Tab character
If you check the Exceptions option in the Find and Replace • Match Whole Word restricts the search to text that
dialog box, clicking the Replace All button opens the Search matches one or more complete words.
panel with a list of each identified instance. You can use the
checkboxes on the left to determine which instances will • Ignore White Spaces treats consecutive white space
be changed, then click the Replace button in the panel to as a single space for the purposes of matching.
replace only certain instances. For example, with this option selected, a search for
My Portfolio would return instances of My Portfolio and
My Portfolio, but not MyPortfolio.
• Find in Selected Text (only available in the Find in
Current Document mode) allows you to search only
within text that is currently highlighted in the document
window.
Use these checkboxes Click Replace to • Search Text Only (available only in the Find and
to determine which change only Replace dialog box) allows you to search only text,
will be changed. selected instances. ignoring any code within the text. When toggled
off, your search will include the source code in the
document as well.
Project 1: Bistro Site Organization 53

