title: Trying to replace string using Powershell regex
body: <p>My text file is as below</p>
  
  <pre><code>( HOST = &lt;something numeric&gt; )
  </code></pre>
  
  <p>Want to replace HOST value. So trying with below regx but no go </p>
  
  <pre><code>(Get-Content C:\Go\test.txt).replace("\HOST\s*=\s*.+\s*\", " HOST = 8888 ") | Set-Content C:\Go\test.txt
  </code></pre>
  
  <p>Any help?</p>