task masks a phone number without changing the format of the original phone number. For example, the
masking
task can mask the phone number
(408) 382-0658
as
(607) 256-3106
.
The source data can contain numbers, spaces, hyphens, and parentheses. The following examples are valid formats of input phone numbers:
08040208950
080-4020-8950
(080)-4020-3797
(080)-(4020)-(3797)
(080)-4020-3797
(080) 4020 (3797)
Alphabetic and special characters are not masked. The following examples of input phone numbers are not in valid formats:
x80-4020-8950
x80-4020-x768
x80-4020/789
To support additional formats, you need to make changes to the Data Masking transformation. If the input data contains alphabetic and special characters, the task replaces with default values from the defaultValue.xml file.
You can configure repeatable output when you mask phone numbers. You must select