title: How can I strip multiline C comments from a file using Perl?
body: <p>Can anyone get me with the regular expression to strip multiline comments and single line comments in a file?</p>
  
  <p><em>eg:</em></p>
  
  <pre><code>                  " WHOLE "/*...*/" HAS TO BE STRIPED OFF....."
  
  1.   /* comment */
  2.   /* comment1 */  code   /* comment2 */ #both /*comment1*/ and /*comment2*/ 
                                               #has to striped off and rest should 
                                                   #remain.
  3.   /*.........
         .........
         .........
         ......... */
  </code></pre>
  
  <p>i realy appreciate you if u do this need.... thanks in advance. </p>