title: There a quick way to add prefixes to all CSS classes & ID's?
body: <p>I need to quickly add prefixes to all of of my classes and ID's and it's quite a large CSS file. I was thinking a quick regex string but so far I've failed. Any ideas?</p>
  
  <p>I've tried simple things like:</p>
  
  <pre><code>\#([A-z0-9]+) {
  </code></pre>
  
  <p>Which will let me replace with #prefix_$1 but it doesn't take into account:</p>
  
  <pre><code>#id {
  #id.class
  #id,
  </code></pre>
  
  <p>etc. I can't just replace all #[a-z0-9] because it will attempt to grab background-colors and so on.</p>
  
  <p>I also need to replace all the classes, which is even more confusing for me.</p>