antgiant:
--------------------------------------------------------------------------------
... I have a single line string say "a|b|c|d|e|f|g" and I run the find and
replace function with find set to \| replace set to \n 
...
However, changing the direction to backwards and putting the cursor at the end
of the line results in the expected behavior.  (Same dialog, but the result on
screen is correct.)
--------------------------------------------------------------------------------


The backwards replace you mentioned is the needed workaround for this use case;
unfortunately, the editor built-in search and replace works on single lines
only; adding newlines is only possible in backwards direction, removing newlines
isn't possible at all (via replace; there is "join lines" function).

There are also scripts providing multiline search and replace:
http://forum.pspad.com/read.php?2,12797#msg-12805

vbr

-- 
<http://forum.pspad.com/read.php?4,51699,51766>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem