title: Regex to match javadoc style comments
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/689354/regex-for-matching-javadoc-fragments">Regex for matching javadoc fragments</a>  </p>
  </blockquote>
  
  
  
  <p>I have files having content like</p>
  
  <pre><code>/**
   * Some Content
   * @param ..
   * @author ..
   *
   */
  function a_sample_function ( $args = '' ) {
  </code></pre>
  
  <p>I need to extract the text</p>
  
  <pre><code>Some Content
  @param ..
  @author ..
  </code></pre>
  
  <p>given a function name a_sample_function ( the <code>*</code> can be removed by a <code>gsub</code> later I believe)</p>
  
  <p>I'm writing this in ruby.</p>