0
Replace for RegExは私のお尻を蹴っています。テキストファイルにPowershell .Replace RegEx
値= "COM8" />
、別のCOMポート(すなわち "COM9"、 "COM13" など)で "COM8" を置き換えます。私は、検索をしようとしています。
(Get-Content 'C:\Path\File.config').Replace('/".*?"', '"COM99"') | Set-Content 'C:\Path\File.config'
ご協力いただきありがとうございます。