You are here: PSPad forum > English discussion forum > Search/replace line-shifts?

Search/replace line-shifts?

#1 Search/replace line-shifts?

Posted by: rasved | Date: 2016-05-02 08:37 | IP: IP Logged

Hi.
How can I search and replace a line-space?

Original:

abc
def
abc
def
abc
def
abc
def
abc
def
abc
def
abc
def

How can I search replace to get this result:

abcdef
abcdef
abcdef
abcdef
abcdef
abcdef
abcdef

Thanks in advance

Options: Reply | Quote | Up ^


#2 Re: Search/replace line-shifts?

Posted by: Andreas | Date: 2016-05-02 11:16 | IP: IP Logged

Multiline search seems not to work with the build in tool. You can use the script "Multiline Search / Replace"

Search:
(.*$)
(.*$)

Replace:
$1$2

Using regex.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR