Prev | Current Page 958 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

A regular expression defines how
to look for a string, rather than precisely which string to find. Regular expressions can contain the special
characters described in the following list.
. (Period) Provides a placeholder for any single character. For example, ???w.ll??? could represent the
words wall, well, or will.
* (Asterisk) Represents 0 or more occurrences of the previous character or class. For example,
???to*??? could represent the words to or too, or simply the letter t. (Because the asterisk can represent 0
occurrences of a letter, ???to*??? can find just the letter t because that??™s all that??™s left when you have
0 occurrences of the letter o.)
^ (Circumflex) Represents a character or class at the beginning of a line. For example, ???^Hello???
would find the word in the line Hello World, but not in the line George said, Hello.
$ (Dollar sign) Represents a character or class at the end of the line. For example, ???World$??? would
find the word in the line Hello World, but not in the line World Peace.
[Characters] Contains a character class (set of characters) from which FindStr selects. For example,
???w[ai]ll??? will match the words wall and will, but won??™t match well.


Pages:
946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970
System of a Down The Last Goodnight Sylver Sting T.I.