Skip to main content

Masking Australian phone numbers

The Job in this scenario uses the tPatternMasking component to mask Australian phone numbers in the same format as the input values.

For more technologies supported by Talend, see Talend components.

This scenario describes a Job which uses:

  • the tFixedFlowInput component to generate Australian phone numbers;
  • the tPatternMasking component to mask the input Australian phone numbers;
  • the tFileOutputDelimited component to output original and masked values.
In this Job, the fictitious Australian phone numbers use the XX XXXX XXXX format:
  • A two-digit area code
  • A space used as a separator
  • A first four-digit line number
  • A space used as a separator
  • A second four-digit line number

To generate masked values in the same format as the input values, you need to define one masking operation for each part of the phone numbers. Separators will be left unchanged in the masked values.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!