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!

Replace multiple characters to single character

IniyavanNov 24 2013 — edited Nov 25 2013

Hi friends,

I would like to replace multiple characters in a string to a single character. The character may be a pipe (|) or a tilde (~).

For example "|||asdf||123|xyz||" should be changed to "asdf|123|xyz".

I use Oracle 11g2.

Thanks in advance!

This post has been answered by chris227 on Nov 25 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2013
Added on Nov 24 2013
8 comments
14,776 views