Howdy!
In 12.10.0.25, I need to add commas to the end of several (hundreds) lines. The easiest way to do this is to do a RegEx replace of “$” with “,”. But if I try that on this, selecting the “aa”, “bb”, and “cc” rows only and have the Scope on the replace set to “Selected text”:
select
aa
bb
cc
dd
from dual;
…it ends up:
select
aa,
,
bb,
,
cc,
,
dd
from dual;
There’s an extra line added after each match in the replace, then replaced.
Thanks!
Rich