need a regex to parse a csv file with double quotes in php

后端 未结 1 969
有刺的猬
有刺的猬 2021-01-22 08:56

Trying to parse a csv file that has all the data wrapped in double quotes, because there may be commas in the double quotes.

Looks like this:

$songs =         


        
相关标签:
1条回答
  • 2021-01-22 09:10

    you dont need no stinkin regex to parse a csv file in php.

    see fgetcsv() and str_getcsv()

    0 讨论(0)
提交回复
热议问题