Word document? /*/[]/@/<Use of wildcard characters

Source: Internet
Author: User

Usage of Word wildcard characters

1. Any single character

"?" Can represent any single character. How many "?" can be entered? It represents several unknown characters. For example:

Enter "?" You can find characters such as "China", "America", and "UK;

Enter "??? Country.

2. Any number of characters

"*" Can represent any number of characters. For example:

Enter "* Country" to find characters such as "China", "USA", and "Bangladesh.

3. One of the specified characters

The character in the "[]" box can be one of the characters to be searched, for example:

Enter "[China-US]" to find "China" and "United States ". Another example:

Enter "th [iu] g" to find "thigh" and "thug ".

Enter the "[Scholar] Shi" to find the "bachelor's degree", "Master's degree", and "doctor ".

Enter "[height]" to search for "height" and "height ".

If you enter "primary or secondary school", you will find "university", "Middle School", and "Primary School", but you will not find "university" or "school.

4. Any single character in the specified range

"[X-x]" can specify any single character in a certain range, for example:

Enter "[a-e] ay" to find "bay", "day", and other characters. Note that the characters in the specified range must be in ascending order. Another example:

Enter [a-c] mend to find amend, bmend, cmend, and other characters.

5. Exclude any single character in the specified range

"[! "X-x]" can be used to exclude any single character in the specified range, for example:

Enter "[! C-f] ay can find "bay", "gay", "lay" and other characters, but won't find "cay", "day" and other characters. Note that the exclusion range must be in ascending order. Another example:

Enter "m [! A] st, you can find "mist" and "most" instead of "mast ".

Enter "[! A] n "indicates all possible combinations except an, such as in and on.

Enter "[! A-c], you can find "good", "see", "these" and other characters, all characters including letters a, B, and c will not appear in the search results.

6. Specify the number of previous characters

"{N}" can be used to specify the number of characters to be searched including the previous character, for example:

Enter "cho {1} se" to indicate that it contains the first character "o". You can find "chose ", enter "cho {2} se", that is, it contains two previous characters "o" and you can find "choose ". Another example:

Enter "detail {1} le" to indicate that it contains the first character "t". You can find "litle ", enter "detail {2} le", that is, it contains 2 characters before "t" and you can find "little ".

Enter "te {2} n" to search for "teen" instead of "ten ".

Enter "of {2} ice" to find "office ".

7. Specify the range of previous characters

"{X, x}" can be used to specify the number range of the first character to be searched, for example:

Enter "cho {1, 2}", which indicates that the number range of the previous character "o" is 1-2. You can find "chose" and "choose.

8. More than one previous character

"@" Can be used to specify that the character to be searched contains more than one previous character, for example:

Enter "cho @ se" to find "chose", "choose", and other characters.

9. Specify the start string

"<" Can be used to specify the start string of the character to be searched, for example:

Enter"

Enter"

10. Specify the end string

">" Can be used to specify the end string of the character to be searched, for example:

Enter "er>" to indicate that the character to be searched ends with "er". You can find "ver", "her", and "lover.

Enter "en>" to search for all target objects ending with "en". You may find "ten", "pen", and "men.

Enter "up>" to search for all target objects ending with "up". You may find "setup", "cup", and so on.

11. Expression search

"()" Is especially used for the combination of multiple keywords.

Type "(America) (China)", and then enter "/2/1" in "replace with" to replace "with" ChinaAmerica "when Word finds" AmericaChina ".

Enter "<(Jiangshan) * (duojiao)>" to search for all strings starting with "Jiangshan" and ending with "Duojiao.

In addition, for more precise search, you can also combine the above wildcards, such:

Enter "<(ag) (er)>" to search for all words starting with "ag" and ending with "er, note that different search rules need to be separated by brackets.

Note that if you want to find characters that have been defined as wildcards, such as "*" and "?" , You must add the backslash "/" before the character. For example, if you enter "/*", it indicates the search character "*".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.