In daily work, updating the contract in the enterprise, or adjusting the description of the product, we need to match and replace the whole paragraph according to the specific number or identification number in each paragraph. Although Word's find and replace function can cover most of the daily needs, it is difficult to realize numbers and numbered digital paragraphs, and it is impossible to capture dynamic content. Here we can use formulas, combined with wildcards, to accurately determine the paragraphs with specified numbers and numbers, and directly replace them with new content in batches, thus avoiding the tedious search of each paragraph and improving our processing efficiency of documents.
This article will introduce how to use formulas to match paragraphs with dynamic numbers and numbers, and then update and replace them in batches to help you easily solve the rapid processing of documents. Let's try it together!
Doc, Docx with numbers, numbers of the entire paragraph batch replacement effect preview
before treatment:
after treatment:
Batch Word with a specified number or number of a whole paragraph of text replaced with new text operation steps
1. Open 【 HeSoft Doc Batch Tool ], select [Word Tool]-[Find and Replace Paragraphs in Word Based on Keywords]].
2. Select an addition method from [Add File] or [Import File from Folder] to import the Word document that needs to replace paragraphs according to key words, or drag the file directly into it, and then click Next.
3. In the setting option interface, select [Use formula fuzzy to find text]]. Below the keyword list to be searched, enter three formulas [\(\d{3}\)\s * 123-4567] [\(\d{3}\)\s * 234-5678] [\(\d{3}\)\s * 345-6789], which correspond to the three groups of numbers in the document respectively. If there are other numbers to replace, you can use AI or regular expression generator using Microsoft. Net framework generation. Enter the paragraph text for each line below the replaced keyword list. Click Next again, click Browse, and select a location to save the new file.
4. After waiting for the processing to be completed, click the red path to open the folder, and then open the Word document to see that the paragraphs have been replaced successfully.
When do
update the document
for example, in the customer service manual, each branch has a different service number. If the company updates these numbers, we can replace the corresponding paragraphs in bulk with the numbers that exist in the document.
Modify technical documents
some technical support teams usually use specific numbering identifiers to solve problems. When the process needs to be updated, you can use numbering to locate paragraphs in Word and then batch replace them with new guidance content.
Adjust Contract Number
when dealing with contracts, clauses usually start with numbers. If the contents of some clauses need to be modified, we can accurately locate and replace the whole paragraph by the clause number.