Possibly use transformy, which was on HN yesterday and is featured on Product Hunt today.
Or Ruby.
Or Ruby.
"Keeley Bosco","1228-1221-1221-1431"
"Rubye Jerde","1221-1221-1221-"
"Miss Darian","null---"
"Celine Ankunding","0700-creditcard-creditcard-1221"
"Dr Araceli","creditcard-1211-1211-1234"
"Esteban Von","---"
"Everette Swift","creditcard-null-null-"
"Terrell Boyle","0700-creditcard-creditcard-1221"
"Miss Emmie","---"
"Libby Renner","1221-1211-1211-"