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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Regular Expression / Mask

781721Dec 16 2010 — edited Dec 17 2010
Hi there

As input I have

A data string:
"1AZJ56U7"
And a mask string: (It does not really matter how this looks -> This is just an example of what I'd like to have as a mask string)
"-..-.-.."
The output should be a masked string:
"-AZ-5-U7"
What would be the best way to do this?

Thanks in advance,
Peter
This post has been answered by fsitja on Dec 16 2010
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 14 2011
Added on Dec 16 2010
14 comments
9,073 views