title: Regex to extract content between css
body: <p>So I'm trying to make it so the I get all the text out of a css class. </p>
  
  <p>For instance,</p>
  
  <pre><code>h1 {
  font-weight: bold;
  }
  </code></pre>
  
  <p>I need to get a string which will contain "font-weight: bold;"</p>
  
  <p>I also need to make sure this doesn't get mixed up with other classes. Basically imagine that was in the middle of a huge css file. How would I get just that class. </p>
  
  <p>(it is ok to ignore things such as h1.blah or variations of h1.) </p>