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!

Use regular expression or UDF to mask card data

wins-OracleMar 31 2017 — edited Mar 31 2017

Hi All,

I am trying to mask the card data for PCI compliance and the requirement is to mask the in between 6 digits of card leaving the first 6 digits of card which are bin numbers and last 4 digits of card which are unique in tact.

From few blogs and sites I could find we can use regular expression and UDF for that but I am unable to get the correct syntax for that,Can somebody help me in getting the exact syntax for doing that and also this should be consistent across database.

Thanks in advance.

Regards/vinay

This post has been answered by BluShadow on Mar 31 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2017
Added on Mar 31 2017
27 comments
2,895 views