Inserting and Formatting Text
265
[abc]
Any one of the characters enclosed
in the brackets. Specify a range of
characters with a hyphen (for
example, [a-f] is equivalent to
[abcdef]).
[e-g]
matches “e” in “bed”, “f” in
“folly”, and ”g” in “guard”
[^abc]
Any character not enclosed in
the brackets. Specify a range of
characters with a hyphen (for
example, [^a-f] is equivalent
to [^abcdef]).
[^aeiou]
initially matches “r”
in “orange”, “b” in “book”, and “k”
in “eek!”
\b
A word boundary (such as a
space or carriage return).
\bb
matches “b” in “book” but
nothing in “goober” or “snob”
\B
A nonword boundary.
\Bb
matches “b” in “goober” but
nothing in “book”
\d
Any digit character.
Equivalent to [0-9].
\d
matches “3” in “C3PO” and “2”
in “apartment 2G”
\D
Any nondigit character. Equivalent
to [^0-9].
\D
matches “S” in “900S” and “Q”
in “Q45”
\f
Form feed.
\n
Line feed.
\r
Carriage return.
\s
Any single white-space
character, including space,
tab, form feed, or line feed.
\sbook
matches ”book” in “blue
book” but nothing in “notebook”
\S
Any single non-white-space
character.
\Sbook
matches “book” in
“notebook” but nothing in
“blue book”
\t
A tab.
\w
Any alphanumeric character,
including underscore. Equivalent to
[A-Za-z0-9_].
b\w* matches “barking” in “the
barking dog” and both “big” and
“black” in “the big black dog”
Character
Matches
Example
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...