Query regarding Data Redaction using Regular Expression
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?