Delete blank rows

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
gsolomon
Posts: 3
Joined: Fri Mar 26, 2010 7:09 pm

Delete blank rows

Post by gsolomon »

How to delete blank rows? For example:

I am having a great day.

She sees the sun.


I want to change this to:

I am having a great day.
She sees the sun.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: ^\n
Replace with: [nothing]

[X] Regular expression
or, if the blank lines might contain spaces,
Find what: ^ *\n [there's a space in front of the *]
Replace with: [nothing]

[X] Regular expression
gsolomon
Posts: 3
Joined: Fri Mar 26, 2010 7:09 pm

Delete a blank row

Post by gsolomon »

That worked perfectly. Thanks!
Post Reply