Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

regexp_replace CR LF

683463Jul 28 2009 — edited Jul 30 2009
Hello.
I need an advice with some regular expression. My problem is following:
I have a varchar string containing text with n rows. I need to replace end of line with some characters E.G. "*" How can I write regular expression?
I tried "regexp_replace(INPUT_STRING,'\r\n','*')" but it doesnt work..:(

Thanx for advices.
Petr
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2009
Added on Jul 28 2009
14 comments
13,190 views