Jump to content
Muxe Inc Forums
Sign in to follow this  

RegExp for replace empty lines ?

Recommended Posts

Avchent    0

Hi there!


Can someone explain to me, how replace 2 empty lines to 1 with RegExp ?


Or how can I concatenate 2 lines into 1 ?

For example, I have text file:

=== Cut ===



=== Cut ===


After each word there is 0xD, 0xA.


I would like to get new line:

=== cut ===

First Second

=== cut ===


How can I do that ?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this