4
到底包圍的製表符,我會要所有的都內"
包圍的\t
我目前在Regex101想我正則表達式的各種迭代來代替......這是迄今爲止最接近的...C#正則表達式 - 試圖讓所有的雙引號
originString = blah\t\"blah\tblah\"\t\"blah\"\tblah\tblah\t\"blah\tblah\t\tblah\t\"\t\"\tbleh\"
regex = \t?+\"{1}[^"]?+([\t])?+[^"]?+\"
\t?+ maybe one or more tab
\"{1} a double quote
[^"]?+ anything but a double quote
([\t])?+ capture all the tabs
[^"]?+ anything but a double quote
\"{1} a double quote
我的邏輯是有缺陷的! 我需要你的幫助來分組製表符。
完美,比我想要做的更簡單!謝謝! –