Home Download Buy Blog Forum Support

How to compress newlines?

How to compress newlines?

Postby wamatt on Thu Oct 11, 2012 2:26 am

ANy ideas how to get rid of extra newlines (whitespace)?

eg:
Line1


Line2

Should become:
Line1
Line2
wamatt
 
Posts: 17
Joined: Mon Mar 26, 2012 9:59 am

Re: How to compress newlines?

Postby vitaLee on Thu Oct 11, 2012 6:30 am

turn on regex find option
find: ^\n*
replace with: (nothing)
[replace all]
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: How to compress newlines?

Postby wamatt on Thu Oct 11, 2012 9:21 pm

Thanks! That did the trick :)
wamatt
 
Posts: 17
Joined: Mon Mar 26, 2012 9:59 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 58 guests