The special characters you can use are:
* matches zero or more characters.
? matches exactly one character, and it can be any
character.
(one|two) is an or expression. It will match either
the substring one, or the substring two. The substrings can contain
other special characters such as * or $.
$ matches the end of the string. This is really only
useful in or expressions.
[abc] matches one occurence of the characters a, b,
or c. Within these expressions, the only character that needs to be
escaped in this is ], all others are not special.
[a-z] matches one occurence of a character between a
and z.
[^az] matches any character except a or z.
~ followed by another shell expression will remove
any pattern matching the shell expression from the match list (a logical
not)
\).
*.netscape.com will match any string ending with
.netscape.com.
(quark|neutrino).netscape.com will match either
quark.netscape.com or neutrino.netscape.com.
198.93.9[23].??? will match a numeric string
starting with either 198.93.92 or
198.93.93,
and ending with exactly 3 characters.
*.* will match any string with a period in it.
*~except-* will match any string except those
starting with except-.
*\[example\] will match any string ending in the substring
[example].