title: Vim, removing blank and commented lines in one regex
body: <p>I want to remove blank and commented lined at one time. I already found the similar question regarding  removing blank lines, so for blank lines I use:</p>
  
  <pre><code>:g/^$/d
  </code></pre>
  
  <p>and for commented lines:</p>
  
  <pre><code>:g/^#/d
  </code></pre>
  
  <p>I'm curious is there any way to merge these regex in one? Something like </p>
  
  <pre><code>:g/^[$#]/d
  </code></pre>
  
  <p>but obviously it doesn't work in vim.</p>