title: Asterisk in regex
body: <p>I am trying to get the parts of the text line that are after colon. For example from this text </p>
  
  <pre><code>previous usc contact name:*assistant director of field education*
  
  agency name:*development corporation
  </code></pre>
  
  <p>I want to get the following:</p>
  
  <pre><code>assistant director of field education
  
  1010 development corporation
  </code></pre>
  
  <p>I tried the following regex </p>
  
  <pre><code>.*:\*?(.*)\**$ 
  </code></pre>
  
  <p>It did not work. What is working right now is this: </p>
  
  <pre><code>.*:\*?(.*)\*
  </code></pre>
  
  <p>I do not understand why it is working on the second line where it does not have asterisk, and regex requires asterisk. And I do not understand why the first regex does not work properly.</p>
  
  <p>Thanks.</p>