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!

TRIM and regexp_Replace combined

user134954Feb 27 2013 — edited Mar 27 2013
Hi there,

a beginner question:

I go the following string:

:TEST:TEST2:

I dont want to see leading and trailing : so i do

Select trim (both ':' from ':TEST:TEST2:') from dual

Now I also want to regexp_replace the ':' by a ','



The solution should look like (Test,Test2)

What to do now? Thx in advance [Oracle 11g]
This post has been answered by RPuttagunta on Feb 27 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2013
Added on Feb 27 2013
47 comments
2,155 views