Solving office problems with wildcard characters skillfully

Source: Internet
Author: User

The "Find and replace" feature in Word is so powerful that not only can you simply find and replace a character or phrase, but if you can use it with wildcards, you can achieve some of the special needs we have in our daily office, thus greatly improving our office efficiency.

  1. Add an underscore to the completion of the fill-in air

In the production of English Test paper reading comprehension, the most troublesome is to enter the underlined number in the English article. The general method is to use the "Format Painter" tool to copy the format one by one, can you use format substitution method to achieve it? The answer is yes. Shenyang 463 Plastic Surgery Hospital http://www.hengnaya.com/

When entering these underlined numbers, you do not need to set any formatting or add too many spaces around them, select the text after entering, press "Ctrl+h" key to open the Find and Replace dialog, switch to the "Replace" tab, click the "Advanced" button, tick the "Use wildcards" check box, and Find What box, enter "[0-9]{1,}" (where "[0-9]{1,}" means more than 1 digits); Enter "^32^&^32" in the "Replace with" box (that is, add a half-width space before and after the number you find, where "^32" is a half-width space, "^&" To find the number, 1).

Click the Format button at the bottom of the dialog box, select the Font command, select the desired underline line in the Pop-up dialog box, make sure to return to the Replace dialog box, and click the Replace All button to see the replaced effect (2).

Tip: The current action is to work with the selected text, and after you replace it, you will be prompted to look for the remainder of the document, mayors "no".

  2. Change the period between digits to a decimal point

In text entry, you will often encounter the decimal point between the number of false input into a period ". "In the case of a replacement, be aware that if the period appears in the middle of the number, you need to convert it to a decimal point." If the period appears at the end of the number, you do not need to replace it, so you cannot simply find the period and replace it with a decimal point.

You can easily solve this problem by using a wildcard lookup method. Open the Replace dialog box, tick the Use wildcards check box, and enter ([0-9]{1,}) in the Find What box. ([0-9]{1,}) ", meaning to find the middle of a number containing". , in the Replace with box, enter "\1.\2" (where "\1" and "\2" represent the original numeric string, respectively). "About two numeric expressions, 3), click the Replace All button, between the numbers." "It's all replaced by a decimal point.

  3. Delete spaces in Chinese and English mixed rows

If you have a lot of space in a document that is mixed in English and Chinese, and sometimes there are more than one continuous space, how can I remove the space in Chinese and keep the space between English words? Because of the complexity of the conditions involved, a replacement is indeed a bit difficult, so after several attempts to find the following two-step replacement can be achieved.

The first step is to change the number of consecutive spaces in the document into a half-width space by checking the Replace with wildcard dialog box to find "^32{1,}" (which means more than one space) and entering "^32" in the "Replace with" box so that multiple consecutive spaces are replaced with a half-width space.

Then change find content to ([!a-za-z]) ([!a-z,a-z]) (that is, to find spaces between non-English characters, where "[!a-za-z]" means any character except uppercase and lowercase letters), enter \1\3 in the Replace with box, click Replace All button to see that the remaining spaces are deleted (4), except for the space reservation in English.

The wildcard substitution feature in Word is powerful enough to help us solve many of the problems in our daily work.

Solving office problems with wildcard characters skillfully

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.