carbonize:
--------------------------------------------------------------------------------
...
my aim was to make all the sentences in to a single line by removing the \n but
keep the empty lines. ...
--------------------------------------------------------------------------------



Hi, in phReplace you probably could use a re replacement
([^
])
([^
])
with
$1$2

(in my Poor Man's RE it would be the equivalent
/([^
])
([^
])/g, "$1$2"

With built in PSPad functions you cannot search for the linebreak \n directly;
approximately the same result would involve multiple steps:
relace (regexp):

^$
QQQQ (or any other separator string otherwise NOT present in the text)

Edit :: Lines manipulation :: Join lines

Backwards re replace:
QQQQ
with
\n

(possibly fix the starting spaces inserted by "join lines").

vbr

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

Odpovedet emailem