title: Selecting with Regex using the last pattern before the desired capture group not the first
body: <p>I have a pattern I want to capture from a string link this:</p>
  
  <p><code>**THIS NO** **THIS NO** **THIS NO** **I SAID YES** **THIS NO**</code></p>
  
  <p>Where I want to capture the text <code>I SAID YES</code>. Since all I have to work with are <code>**</code> and <code>YES</code> I tried a Regex but it returns the match all the way from the first <code>**</code> not the one right before my pattern, see the Regex101 below: </p>
  
  <p><a href="https://regex101.com/r/kUBxQf/1" rel="nofollow noreferrer">https://regex101.com/r/kUBxQf/1</a></p>