title: How do I extract this using a regex
body: <p>I have the following strings that I want to run a regex (Java) against:</p>
  
  <pre><code>a#d3d,b#3jjf,c#44k
  c#999,b#a1a,a#11a
  </code></pre>
  
  <p>I want to extract the value following the "c#" and before the next comma (,).  I want to extract the value "44k" from the first line and the value "999" from the second line.  I thought the following would work:</p>
  
  <pre><code>.*c#(.*),.*
  </code></pre>
  
  <p>but it doesn't.  Oh, and an English explanation of the regular expression would help me to better understand your answer.</p>