Regular expression to find and replace unescaped Non-successive double quotes in CSV file

后端 未结 3 807
日久生厌
日久生厌 2021-01-06 16:35

This is an extension to a related question answered Here

I have a weekly csv file which needs to be parsed. it looks like this.

\"asdf\",\"asdf\",\"as

3条回答
  •  离开以前
    2021-01-06 16:42

    I was using VIM to remove nested quotes in a .CSV file and this worked for me:

    "[^,"][^"]*"[^,]
    

提交回复
热议问题