Hands-on task
Mask the cards
In /root/payments.txt there are card numbers of the form 1234 5678 9012 3456. Mask all digits except the last four with the * character (for example **** **** **** 3456), writing the result to /root/masked.txt.
- sed
- regular expressions
- capture groups
- counting quantifier
- data masking