To remove extra spaces between paragraphs, follow the steps below. In Microsoft Word, the spaces between lines are most often spaces between paragraphs and not lines of text. Additional information and examples on regular expressions is on our regular expression page. In the Replace window, in the Find what section, type ^\n ( caret, backslash 'n') and leave the Replace with section blank, unless you want to replace a blank line with other text.Ībove, the find text (^\n) is a regular expression that tells TextPad to look at the start of a line (^) for a newline (\n).Open TextPad and the file you want to edit.Follow the steps below to replace blank lines in an open TextPad file. TextPad is a great text editor to replace blank lines. Once selected, carriage returns are CR and new lines are LF. If the replace is not working for your file, view the files formatting marks by clicking the pilcrow / paragraph icon in the toolbar.
With some files, there may not be a carriage return and only new lines which means you'd use (^\n) as your find text.
#EDITPAD LITE REPLACEMENT TEXT NEW LINE DOWNLOAD#
Download Notepad++ if not already installed on the computer.Follow the steps below to replace blank lines in your file using Notepad++.
#EDITPAD LITE REPLACEMENT TEXT NEW LINE FREE#
Notepad++ is a fantastic free text editor for Microsoft Windows computers that supports regular expression search and replace to replace blank lines in one or more files. See our removing blank lines with regular expressions section below for how this tool and other tools use regular expressions to replace blank lines.