How to Remove the Zigzag Border Created by Tildes in Word
Question details
The user needs to remove an undeletable zigzag line caused by typing tilde characters in Word and wants to know how to stop this from happening automatically in the future.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Typing and formatting text in a document
- Observed behavior
- Typing a row of tildes and pressing Enter automatically converts them into a persistent zigzag paragraph border that cannot be removed using the Backspace or Delete keys.
Ensure your cursor is placed directly above or inside the paragraph where the persistent zigzag line appears before attempting to modify its border settings.
Remove the Existing Zigzag Border
Clear the applied paragraph borders to instantly remove the zigzag line from your document.
Since the zigzag line is technically a paragraph border applied by Word rather than actual text characters, standard deletion methods will not work.
Click anywhere inside the paragraph located directly above the zigzag line.
Navigate to the 'Home' tab on the top ribbon. In the 'Paragraph' group, locate the 'Borders' icon and click the small drop-down arrow next to it.
Click 'No Border' from the drop-down list. The zigzag line will immediately disappear from your document.

Disable the AutoFormat Border Setting
Turn off Word's automatic border creation so typing tildes (or other characters) won't trigger unwanted lines in the future.
Manage Document Borders Easily with WPS Writer
WPS Office offers intuitive paragraph formatting controls, allowing you to easily remove unwanted zigzag borders or disable AutoFormat features while seamlessly editing your Microsoft Word documents.
- 1. Open the document in WPS Writer: Launch WPS Office and open your .docx file containing the unwanted zigzag border.
- 2. Select the target paragraph: Click into the paragraph immediately above the zigzag line.
- 3. Access the Borders tool: Under the 'Home' tab, find the 'Borders' icon located in the Paragraph grouping.
- 4. Apply No Border: Click the drop-down menu and choose 'No Border' to cleanly erase the zigzag line from your page.

Frequently Asked Questions
Why does typing tildes automatically create a line in Word?
This happens due to Word's 'AutoFormat As You Type' feature. When you type three or more consecutive tilde characters (~) and press Enter, Word assumes you want to insert a decorative zigzag paragraph border and applies it automatically.
Can I delete the zigzag line using the Backspace key?
No. Because the zigzag line is technically a paragraph border and not actual text, the Backspace or Delete keys will not remove it. You must use the Borders menu to apply a 'No Border' setting to the paragraph above it.
Are there other characters that trigger automatic borders in Word?
Yes. Typing three or more hyphens (-), underscores (_), equal signs (=), asterisks (*), or number signs (#) followed by pressing the Enter key will also trigger Word to automatically create various styles of horizontal paragraph borders.




