title: Regex to find longest text fragment where last letter of word matches first letter of next word
body: <p>For example if I had a text like</p>
  
  <pre><code>first line of text
  badger Royal lemon, night trail
  light of. Random string of words
  that don't match anymore.
  </code></pre>
  
  <p>My result would have to be lines of words where the last character of each word matches the first character of the next word, even if there are separators in between. In this case:</p>
  
  <pre><code>badger Royal lemon, night trail
  light
  </code></pre>
  
  <p>What is the easiest way to do this if I want to use Regex?</p>