title: How to match regex pattern on single line only?
body: <p>I have the following regex and sample input:</p>
  
  <p><a href="http://regex101.com/r/xK9dE3" rel="nofollow">http://regex101.com/r/xK9dE3</a></p>
  
  <p>As you can see it matching the first "yo".  I only want the pattern to match on the same line (the second "yo") pattern with "cut me".</p>
  
  <p>How can I make sure that the regex match is only on the same line?</p>
  
  <p>Output:</p>
  
  <pre><code>Hi
  </code></pre>
  
  <p>Expected Output (this is what I really want):</p>
  
  <pre><code>Hi
  
  yo keep this here
  
  Keep this here
  </code></pre>