By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 3
| regexp_replace |
|---|
| This is a credit card number mask(341332123-432432-413213-13223). The CC # should be masked |
| This is a email mask(test@test.com) The email address should be masked |
| This is a phone mask(555-555-5555), The phone number should be masked |
SELECT 3