title: Regular expression to remove CSS comments
body: <p>I want to write the regular expression in php for matching the line within a double and single quotes. Actually I am writing the code for removing comment lines in css file.</p>
  
  <p>Like:</p>
  
  <pre><code>"/* I don't want to remove this line */"
  </code></pre>
  
  <p>but</p>
  
  <pre><code>/* I want to remove this line */
  </code></pre>
  
  <p>Eg:</p>
  
  <pre><code>- valid code /* comment */ next valid code "/* not a comment */" /* this is comment */
  </code></pre>
  
  <p>Expected result:   </p>
  
  <pre><code>- valid code next valid code "/* not a comment */"
  </code></pre>
  
  <p>Please any one give me a regular expression in php for my requirement.</p>