title: Finding words after keyword in python
body: <p>I want to find words that appear after a keyword (specified and searched by me) and print out the result. I know that i am suppose to use regex to do it, and i tried it out too, like this:</p>
  
  <pre><code>import re
  s = "hi my name is ryan, and i am new to python and would like to learn more"
  m = re.search("^name: (\w+)", s)
  print m.groups()
  </code></pre>
  
  <p>The output is just:</p>
  
  <pre><code>"is"
  </code></pre>
  
  <p>But I want to get all the words and punctuations that comes after the word "name".</p>