Replace the field separator in a CSV file with Javascript
For a node project, I wanted to replace the field separator in a CSV from a comma to a tab. I thought about different solutions and finally, I came up with this neat little regex. This regex can be used to replace a delimiter in a csv file but also other usage cases are possible. The script below replaces a […]