I wanted to find the card numbers in a logfiles and mask the card numbers. Can you please let me know what is the easiest way to do this?
Card Number format => 1234567890123456 and I want to mask the number like his one 123456******3456
The problem is to identify the number in the file because I cannot open the file because sometimes files are too large. The next problem is mask the card number from 7th digit to 12th digit.
The logfile how the crd number stored
Dec 10 14:00:00 AAA: ABC * 11111 *
+ CRD : 1234567890123456