Hello,
I can replace multiple spaces with a single space
SELECT REGEXP_REPLACE('# #','( )* ',' ') x FROM dual;
X
---
# #
but how can I replace multiple CR?
SELECT REGEXP_REPLACE('#'||CHR(10)||CHR(10)||'#','('||CHR(10)||')* ',CHR(10)) x FROM dual;
does not work. How do I have to write the pattern?
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
Regards
Marcus