search
HomeTopicswordPractical Word skills sharing: 3 classic batch search and replace methods

In the previous article "Sharing Practical Word Tips: Cleverly Fixing the Default Font", we learned how to modify the default font of the Word system. The following article will share with you some practical Word skills and talk about the classic batch search and replace method. Come and learn how to use it!

Practical Word skills sharing: 3 classic batch search and replace methods

Before studying this section, the editor would like to ask you a question, what will you do using the find and replace function in Word? Anyway, I see that many people use search and replace, that is, search for the word!

In fact, we can also replace and modify document content in batches through the find and replace function. Therefore, today I will share with you some classic search and replace techniques, hoping it will be helpful to you when processing documents.

1. Set the font format in batches

For example: Set the word "mountain" in the poem in the text to red , bold, and underlined to highlight.

Operation method:

(1) Open the document, first select a "mountain" text, and then press the [Ctrl H] key combination to open the "Find and Replace" dialog box's Replacement tab.

(2) The text "山" has been automatically entered in the "Find content" text box. At this time, we need to also enter "mountain" in the "Replace with" box.

(3) Click [Advanced]-[Format]-[Font] to open the "Font" dialog box, set the font, color and underline respectively, then click "OK" to return to "Find and Replace" dialog box. Click the "Replace All" button.

Practical Word skills sharing: 3 classic batch search and replace methods

2. Use wildcards to modify the content in brackets

For example: Set the title name (that is, the text with "") to be bold, bold, and red.

Operation method:

(1) Open the "Find and Replace" dialog box and enter ""*"" in the "Find" text box.

(2) Position the cursor in the "Replace with" text box, then click the "Advanced" button and select "Use Wildcards".

(3) Click [Format]-[Font] to open the "Font" dialog box, set the font, font style, and color respectively, click "OK" to return to the "Find and Replace" dialog box, click "Replace All" button.

Practical Word skills sharing: 3 classic batch search and replace methods

Tips: Generally use "?" to replace an arbitrary character, and use "*" to replace one or more arbitrary characters.

3. Use wildcards to retain numbers and delete English letters.

For example: delete the English letters of the "serial number" in the table and retain only the numbers. text.

Operation method:

(1) Select the area you want to find and replace, open the "Find and Replace" dialog box, and enter "[a- zA-Z]”.

(2) Leave the "Replace with" text box blank, then select "Use Wildcards", and finally click the "Replace All" button to complete.

Practical Word skills sharing: 3 classic batch search and replace methods

Tips: When replacing characters, [a-z] represents any lowercase English letter; [A-Z] represents any uppercase English letter; [a- zA-Z] represents any English letter. The "serial number" in the table above contains uppercase and lowercase English letters, so [a-zA-Z] is used here to search and replace. In addition, if you need to replace numbers in the text, you can use [0-9], which represents an arbitrary number.

Recommended tutorial: "Word Tutorial"

The above is the detailed content of Practical Word skills sharing: 3 classic batch search and replace methods. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:部落窝教育. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software