title: Regular expression: Match everything after a particular word
body: <p>I am using Python and would like to match all the words after <code>test</code> till a period (full-stop) or space is encountered.</p>
  
  <pre><code>text = "test : match this."
  </code></pre>
  
  <p>At the moment, I am using :</p>
  
  <pre><code>import re
  re.match('(?&lt;=test :).*',text)
  </code></pre>
  
  <p>The above code doesn't match anything. I need <code>match this</code> as my output. </p>