title: extract digits between 2 patterns awk/egrep
body: <p>I want to extract the variable number of digits between two patterns, eg:</p>
  
  <p>correction: </p>
  
  <pre><code>blah blah.... AAM #6,blah blah
  
  blah blah.... AAM #10 , blah blah
  
  blah blah.... AAM #100 , blah blah
  </code></pre>
  
  <p>output: 6, 10 and 100 </p>
  
  <p>I need to extract numbers between <code>AMA #</code> and <code>,</code></p>