29
Views
1
Comments
[Data Anonymization] Masking for Phone number with help of Data Anonymization
Question
data-anonymization
Service icon
Forge asset by OutSystems Lab
Application Type
Service
Service Studio Version
11.53.42 (Build 62025)

Hi Team,

Hope you are doing well.

I was facing issue while masking mobile number, age, adhar card whose data type are 'TEXT' and manipulation type id is 'MASK' in  Data Anonymization with expression as '(?<=[A-Za-z])[a-z]'. This works for first name & last name but when I am trying same for other fields whose data type is 'TEXT'. But it is not replicating for that fields. 


Could you please help me in this case.


I want same masking to be implemented here. All input fields having TEXT data type.



Thanks,

Sameer Dhulia 

2022-12-09 16-04-44
Rodolfo Cardoso
Staff

Hi @Sameer Dhulia,

You should adjust the regex to the type of masking you are doing.

The mas you are using works for characters, but will not replace numbers. In the case of numbers I would use something like this: (?<=[0-9])[0-9]

You can use this website to understand, learn and test your regex: https://regex101.com/r/uOAezK/1

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.