Notepad ++の検索/置換を使用して各行の最初の出現を正規表現に置き換えたい。
検索:,"",
と置換する: ," ",
つまり、2つの二重引用符の間に2つのスペースを挿入します。
どうすればよいですか?
次の正規表現として実行できます。
,"",(.*)$
," ",\1
入力:
this is a ,"", here and another is here ,"", at the end
next ,"",,"", here ,"",
another one ,"",
,"", last one
期待される結果:
this is a ," ", here and another is here ,"", at the end
next ," ",,"", here ,"",
another one ," ",
," ", last one