I have a CSV file with the following in:
Mr,John,Smith,0121-1234567
Mr,Gryff,Rhys-Jones,0121-2345678
Is there a way to remove the hyphen from the last field but not the surname field? I've tried a tr -d "-" on the file but this removes all the hyphens. Any ideas?
Thanks
Mr,John,Smith,0121-1234567
Mr,Gryff,Rhys-Jones,0121-2345678
Is there a way to remove the hyphen from the last field but not the surname field? I've tried a tr -d "-" on the file but this removes all the hyphens. Any ideas?
Thanks