title: Powershell: how to check if string contains any significant characters?
body: <p>I need to check a string to see if it conatins anything other than spaces, returns, etc.</p>
  
  <p>In perl, I used:</p>
  
  <pre><code>if($val =~/^\s*$/) {...}
  </code></pre>
  
  <p>How do I do that in PowerShell?</p>