I need to write a script which can take a CSV file, read it in as text and replace any commas with " " (that's double quote - space - double quote), it also needs to add a double quote to the beginning and end of each line.
I know what it needs to do but my scripting isn't really up to scratch, I think it will be something to do with regex?
If it could rename the file too that would be great.
Can anyone help?
I know what it needs to do but my scripting isn't really up to scratch, I think it will be something to do with regex?
If it could rename the file too that would be great.
Can anyone help?