我需要一个 C# 中的正则表达式,它可以删除字符串中出现的任意数量的双引号,它是一个 csv 文件,在从 StreamReader 读取后,我想替换字符串中的所有双引号。第一行是标题,第二行是数据。例如:
"E-mail","First Name","Last Name","Company"
"san@test.com","sanjay","sen","this is my "test" company"
所以理想的正则表达式应该给出以下输出:
"E-mail","First Name","Last Name","Company"
"san@test.com","sanjay","sen","this is my test company "
所以从列中删除双引号"this is my "test" company"
并生成"this is my test company"