Adobe 38040334 - Dreamweaver CS3 User Manual page 312

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Character
Matches
?
The preceding character at
most once (that is, indicates
that the preceding char-
acter is optional).
.
Any single character except
newline.
x|y
Either x or y.
{n}
Exactly n occurrences of the
preceding character.
{n,m}
At least n, and at most m,
occurrences of the
preceding character.
[abc]
Any one of the characters
enclosed in the brackets.
Specify a range of charac-
ters with a hyphen (for
example, [a-f ] is equivalent
to [abcdef ]).
[^abc]
Any character not enclosed
in the brackets. Specify a
range of characters with a
hyphen (for example, [^a-f ]
is equivalent to [^abcdef ]).
\b
A word boundary (such as a
space or carriage return).
\B
Anything other than a word
boundary.
\d
Any digit character. Equiva-
lent to [0-9].
\D
Any nondigit character.
Equivalent to [^0-9].
\f
Form feed.
\n
Line feed.
\r
Carriage return.
\s
Any single white-space
character, including space,
tab, form feed, or line feed.
\S
Any single non-white-
space character.
\t
A tab.
Example
matches "son" in "Johnson" and "ston" in "Johnston"
st?on
but nothing in "Appleton" or "tension"
matches "ran" and "can" in the phrase "bran muffins can
.an
be tasty"
matches "FF0000" in
FF0000|0000FF
and "0000FF'" in
bgcolor="#FF0000"
color="#0000FF"
matches "oo" in "loom" and the first two o's in
o{2}
"mooooo" but nothing in "money"
F{2,4}
matches "FF" in "#FF0000" and the first four Fs in
#FFFFFF
[e-g]
matches "e" in "bed", "f" in "folly", and "g" in "guard"
[^aeiou]
initially matches "r" in "orange", "b" in "book",
and "k" in "eek!"
\bb
matches "b" in "book" but nothing in "goober" or "snob"
matches "b" in "goober" but nothing in "book"
\Bb
\d
matches "3" in "C3PO" and "2" in "apartment 2G"
\D
matches "S" in "900S" and "Q" in "Q45"
matches "book" in "blue book" but nothing in
\sbook
"notebook"
matches "book" in "notebook" but nothing in "blue
\Sbook
book"
September 4, 2007
DREAMWEAVER CS3
font
305
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents