title: Regex select word after specific word
body: <p>How can I capture a word just after specific word in regex, I have to select everything between <strong>from</strong> - <strong>to</strong> and after to so there will be two capturing groups.</p>
  
  <p>Example:
  "From London to Saint Petersburg" I wanted to extract <code>London</code> <code>Saint Petersburg</code> from above string.</p>
  
  <p>Im stuck with this code here, my current regex selecting <code>to Saint Petersburg</code> i wanted to get rid word <code>from</code> and <code>to</code> from the selection.</p>
  
  <pre><code>/(?=to)(.*)/i
  </code></pre>