I basically had a file like

cite:
--------------------------------------------------------------------------------
alpha bravo charlie 
delta echo foxtrot golf.

abacus banana 
condor.

uno dos 
tres.--------------------------------------------------------------------------------


my aim was to make all the sentences in to a single line by removing the \n but
keep the empty lines. I think anyway as I forget now. I tried various regex such
as 

[a-zA-Z0-9-]\n[a-zA-Z0-9-] (finds nothing)
\w\n\w (again finds nothing)
\W\n\W 

and I started at the end with it set to work backwards. None of it seemed to
work as I expected. Basically I think the regex in it is either not complete or
broken since using \W should only select non word characters and \w is word
characters (letters, digits and underscores).

Maybe I'm just to tired and making a total balls up of it. The outcome after the
replace should be

cite:
--------------------------------------------------------------------------------
alpha bravo charlie delta echo foxtrot golf.

abacus banana condor.

uno dos 
tres.--------------------------------------------------------------------------------


-- 
Carbonize

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

Odpovedet emailem