Multiple lines

A place to try and solve your RegEx problems.
Post Reply
Enigma
Posts: 5
Joined: Tue Dec 01, 2015 9:10 pm

Multiple lines

Post by Enigma »

Is it possible to search 3 lines and change them to 2?
E.g.:
1 test
2 again
2 ok
to
3 bla
4 bla
Enigma
Posts: 5
Joined: Tue Dec 01, 2015 9:10 pm

Re: Multiple lines

Post by Enigma »

Unfortunately no response yet. Can I assume that it is not possible?
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: Multiple lines

Post by DigitalVolcano »

If you know what you are searching/replacing you can use the multi line editor for the search/replace expressions - click the button next to the search/replace box.
Enigma
Posts: 5
Joined: Tue Dec 01, 2015 9:10 pm

Re: Multiple lines

Post by Enigma »

Unfortunately, it does not work in a batch
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: Multiple lines

Post by DigitalVolcano »

You should still have the multi-line editor in batch mode. Remember to uncheck the 'regular expression' setting if needed.
Enigma
Posts: 5
Joined: Tue Dec 01, 2015 9:10 pm

Re: Multiple lines

Post by Enigma »

It works. Thank you so much.
Post Reply