引用符内の次のスペースを削除したいのですが、一致する引用符内の引用符の前後に連続するスペースだけを取り除きます。
this is " a " quoted "string " with " lots" of "edge " cases " that " need spaces removed. It \" also \" has "escaped" quotes just to really annoy you!
次のように見えるはずです...
this is "a" quoted "string" with "lots" of "edge" cases "that" need spaces removed. It \"also\" has "escaped" quotes just to really annoy you!
これは単一の正規表現でも可能ですか? そうでない場合は、どのような解決策でもかまいません。