I have Json Array data as shown below:
{
"AccountNumber":[
"123456789012",
"234567891012",
"345678912012"
]
}
Now I want to mask the middle 4 digit number only. as shown below:
{
"AccountNumber":[
"1234xxxx9012",
"2345xxxx1012",
"3456xxxx2012"
]
}
Can anyone help how to mask multiple json array data using javascript.