How to delete extra blank lines in Word

Source: Internet
Author: User

First, paste the downloaded information on the Internet to the notepad, and then copy/paste it to the Word document. This process can automatically delete some blank lines and convert all line breaks in the document into carriage returns (paragraph marks ).

Then, delete unnecessary rows. InEditClickReplaceButton (or simultaneously pressingCtrlAndHKey), openSearch and replaceDialog box.

Collapse the image and expand the image.
 



SelectReplaceTab, clickMore.

Collapse the image and expand the image.
 



ClickSpecial formatButton, selectSection mark;

Collapse the image and expand the image.
 


(If you are familiar with the code/wildcard, you can also enter^ P)

Collapse the image and expand the image.
 



Beans want to leave a blank line between paragraphs and delete other unnecessary ones. Therefore, you can enter^ P, Replace column input^ PTo convert empty rows into one row. Then, pressReplace allButton.

Collapse the image and expand the image.
 


Replacement result:

Collapse the image and expand the image.
 



Repeated timesReplace allButton until the result is replaced with 0.

However, after multiple replacement, sometimes there are still carriage returns or blank lines that cannot be eliminated.

Before replacement

Collapse the image and expand the image.
 


After replacement

Collapse the image and expand the image.
 



What's going on here? Isn't this method feasible?

Take a closer look. There is a space before the carriage return. ThatSearch ^ pBy default, the syntax of is two adjacent blank rows without spaces, so it becomes invalid here.

To solve this problem, you must first delete spaces in the text. InSearchInput^ W,ReplaceLeave the column blank and pressReplace all. (If you do not remember the wildcard, you canSpecial formatSelectBlank area)

Collapse the image and expand the image.
 



Try againReplace ^ p with ^ pTo eliminate unnecessary empty rows.

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.