martinw:
--------------------------------------------------------------------------------
...
UNIX RegExp:
Find What: \p$
Replace With: (literally nothing)

How do you the same thing in PSPad using it's regular expression syntax?

Thanks in advance

Martin.
--------------------------------------------------------------------------------


Unfortunately, PSPad cannot replace newlines with the internal search/replace
engine; you can use 
Edit :: Lines manipulation :: delete blank lines (for simple cases)
or you can try the search and replace scripts; see the FAQ
http://forum.pspad.com/read.php?2,12797#msg-12805.

- however, instead of your pattern one would use something like
_(
){2,}_ >> _\n_ 
(or even
_(^(
)+)|(
(?=
))|(
$)_ >> ::nothing:: to handle the first and
last line).

-- 
<http://forum.pspad.com/read.php?2,45411,45414>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem