First, I write
abc,def,ghi,jlk
then do a find/replace (CTRL-H): specify reg-ex and find
[color=#BB0000]_,_[/color] (comma) and replace with
[color=#BB0000]_\n_[/color]. The replace works but the popup indicates
expression was replaced _[color=#BB0000]6[/color]_ times when there were
only 3 commas.

Second, I write
abc
def
ghi
then do a simple reg-ex find (CTRF-F) or a find/replace (CTRL-H): specify reg-ex
and find _[color=#BB0000]\n[/color]_ and replace with
_[color=#BB0000],[/color]_ (so that I get abc,def,ghi). The replace does
not work at all. I suspect I might have the wrong reg-ex method to perform this
type of replace, maybe someone can confirm?

Find/replace where find is _[color=#BB0000]$[/color]_ and replace is
_[color=#BB0000],[/color]_ adds a comma at the end of every words but what
I want to do is remove the newlines.

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

Odpovedet emailem