title: How to extract the words after match when they are in a new line?
body: <p>I have the following text extracted from a PDF:</p>
  
  <pre class="lang-none prettyprint-override"><code>asssd
  name lastname
  John Smith
  sdds
  </code></pre>
  
  <p>I want to extract the name and the last name (John Smith).
  I created the following regex:    <code>Name Lastname\s+(.*)$</code>  which works when I test it to <a href="https://regex101.com/" rel="nofollow noreferrer">https://regex101.com/</a> but NOT in my software which is C# based and on <a href="http://regexstorm.net/tester" rel="nofollow noreferrer">http://regexstorm.net/tester</a>.</p>
  
  <p>Is there another way to do it?</p>