以下のキー値ペアがある場合、どのように値(引用符を含む)と一致させることができますか?Javascript JSONキー値ペアの値と一致する正規表現
説明:IDEで検索と置換を行っています。値を文字列からオブジェクトに変更する必要がある、数百のキー/値ペアがあります。基本的に値を置き換えます(も近接していない動作していない)
"ElevationFilenameIn": "Input raster elevation file",
"TargetCRS": "Target vertical coordinate reference system Type",
"featureName": "The name of the feature to extract, for example \"Vegetation\" or \"Water\"",
"TargetCRScode": "Target vertical coordinate system Code",
"TargetCRSfile": "The projection (.prj) file in shoebox to be used for this inputfile"
[:]\s*(\"\w*\")
競合のコードを追加します** [MCVE] ** – Tushar
あなたは[ 'JSON.parse(文字列)[key_nameは]'](httpsを使用することができます://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) –
( "(。*?)"を使用できますが、これが本当に必要なのかどうかは疑問です/ want – jeff