Database Security Products (MOSC)

MOSC Banner

Query regarding Data Redaction using Regular Expression

edited May 8, 2019 5:05AM in Database Security Products (MOSC) 6 commentsAnswered

Hello,

We wanted to redact certain fields in couple of tables in our environment.

One such requirement is to redact a VARCHAR2(50) field in such a way that 2 characters are visible, then next 3 are redacted. Further, next 2 visible, and next 3 redacted; and so on i.e, redactged pattern should be somewhat like ABXXXAMXXXNCXXX

Pre-defined formats should obviously not fit this pattern. Can someone please suggest best way to achieve this?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center