This wikiHow teaches you how to remove a line in Microsoft Word that you may accidentally create by typing three dashes (-), underscore (_), equal sign (=), or asterisk (*), and pressing the "Return" key.
Step
Method 1 of 3: Marking and Erasing Lines

Step 1. Click the line directly below the unwanted line
If any text is directly above the line, select the entire line that is above the line.

Step 2. Drag the cursor on the line directly below the unwanted line
The left end of the line will also be marked.

Step 3. Press the delete button
In many versions of Word, the line is erased after you press the key.
Method 2 of 3: Using the “Home” Tab Shortcut

Step 1. Click the line directly above the line you want to delete
If any text is directly above the line, select the entire line that is above the line.

Step 2. Drag the cursor on the line directly below the line you want to delete
The left end of the line will also be marked.

Step 3. Click the Home tab present at the top of the screen

Step 4. Click the “Borders and Shading” icon
This square icon divided into four panels is in the " Paragraph " section of the menu ribbon.

Step 5. Click No Borders
After that, the boundary line will disappear.
Method 3 of 3: Using the “Page Borders” Dialog Menu

Step 1. The line directly above the line you want to delete
If any text is directly above the line, select the entire line that is above the line.

Step 2. Drag the cursor on the line directly below the line you want to delete
The left end of the line will also be marked.

Step 3. Click the Design tab at the top of the Word window

Step 4. Click Page Borders in the upper-right corner of the window

Step 5. Click the Borders tab at the top of the dialog box

Step 6. Click None on the left side of the panel

Step 7. Click OK
After that, the boundary line will be erased.