title: Regular Expression to match dot separated list with no dot on the end and allow asterisk at the end
body: <p>I have the following input strings and I need a regex to validate the input. </p>
  
  <pre><code>test.test = OK
  test.test.1 = OK
  test.text* = OK
  
  test.test. = NO
  test.test.* = NO
  test = NO
  </code></pre>
  
  <p>This is my regex, it works but does not successful validate the input as wished:</p>
  
  <pre><code>^[a-z0-9*.\-_\.:]+$
  </code></pre>
  
  <p>How can I get it work?</p>