title: python regex to remove comments
body: <p>How would I write a regex that removes all comments that start with the # and stop at the end of the line -- but at the same time exclude the first two lines which say </p>
  
  <pre><code>#!/usr/bin/python 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>#-*- coding: utf-8 -*-
  </code></pre>