title: Powershell - Remove C++ comments from file
body: <p>I'm new to powershell and need some help. I want to use the replace function to remove all the comments from C++ source code. That is single and multiline comments:</p>
  
  <pre><code>/*
      Comment here.
  */
  
  // Comment here.
  </code></pre>
  
  <p>Can someone help me with the powershell regex for this?</p>