Page 1 of 1
[Solved] How to remove empty lines
Posted: Sun May 30, 2010 4:45 pm
by alnaimi
Hi every one...
Is there were away to Auto remove empty lines?
Thanks
Title Edited. A descriptive title for posts helps others who are searching for solutions and increases your chances of a reply. (TheGurkha, Moderator)
Re: How to? remove empty lines (Delete blanks lines)
Posted: Sun May 30, 2010 5:30 pm
by JohnV
If the "empty lines" are actually blank paragraphs then you can use Find & Replace.
Search = ^$
Replace = nothing
Check Regular Expressions
Re: How to remove empty lines
Posted: Tue Jun 01, 2010 11:31 am
by alnaimi
Thanks JohnV
It was helpful to remove a lot of empty lines... But still there were other blanks lines...
Is there were any other solutions?
Thanks again
Re: How to remove empty lines
Posted: Tue Jun 01, 2010 11:39 am
by RoryOF
Many of the blank lines you complain about may be due to spacings defined before or after paragraphs. You need to edit those paragraph styles and in the Indents and Spacing tab, under Spacing, make sure Above Paragraph and Below Paragraph are set to 0, and Line spacing is set to Single. Press the Help button on that window for more information.
Also consult main Help file for Styles.
Re: How to remove empty lines
Posted: Tue Jun 01, 2010 12:28 pm
by RGB
Are you sure remaining lines are really empty? They could have one or more spaces. Try with
(notice the space between the square brackets)
Re: How to remove empty lines
Posted: Tue Jun 01, 2010 2:42 pm
by alnaimi
Fantastic RGB .... No Words to Thank you
This one removed all spacing empty lines.
And Thanks to you too RoryOF