How to use wildcard characters
You can use the following wildcard characters while specifying search parameters:
|
Character
|
Meaning
|
|
?
|
any character
|
|
#
|
any digit
|
|
*
|
any number of characters
|
Note: if you want to search for items with names containing spaces, enclose search queries in quotations marks, for example “Chapter 15.txt”.
Sample search phrases:
1) Book.txt - only text files with this very name will be found.
2) *.txt - all text files with any names will be found.
3) H*.jpg - all jpg files whose names start with H will be found.
4) #.txt - all text files whose names consist only of one digit will be found, for example, 2.txt or 7.txt, but not 12.txt, A.txt or Ñhapter 5.txt
5) “Chapter ##.txt” - all text files whose names start with the word Chapter followed by any two digits after a space will be found, for example, Chapter 12.txt, but not Final book - Chapter 12.txt
6) ?.txt - all text files whose names consist of only one character will be found, for example 2.txt, a.txt, B.txt, but not 35.txt or My book.txt
7) “Chapter ?.txt” - all text files whose names start with the word Chapter followed by any character after a space will be found, for example, Chapter 1.txt or Chapter A.txt
8) “*pter 12*” - files of any types whose names contain pter 12 will be found, for example, Chapter 122.txt, Final book - Chapter 12.txt, Helicopter 12A.jpg
9) You can specify several phrases at once using spaces to separate them, for example: *.txt *.mp3 - all text and all mp3 files with any names will be found.
|