title: Matching a word followed by another word anywhere on page
body: <p>I have a files that shows the locale that the file is placed. So need to find when the file contains a certain locale and has a certain word in it.The word maybe anywhere on the page.</p>
  
  <p>Regex </p>
  
  <pre><code>/^.*?\b(uk_en)\b.*?\bneedle\b.*?$/m
  </code></pre>
  
  <p>Example</p>
  
  <pre><code>id: page_name
  locale: uk_en
  ----
  &lt;div&gt; placeholder placeholder  placeholder placeholder placeholder placeholder&lt;/div&gt;
  &lt;span&gt;placeholder placeholder placeholder placeholder placeholder placeholder  &lt;/span&gt;
  &lt;p&gt;Needle&lt;/p&gt;
  </code></pre>
  
  <p>My reference for the regex
  <a href="https://stackoverflow.com/questions/2219830/regular-expression-to-find-two-strings-anywhere-in-input">Regular expression to find two strings anywhere in input</a></p>
  
  <p>Link to test
  <a href="https://regex101.com/r/dFdQl3/1" rel="nofollow noreferrer">https://regex101.com/r/dFdQl3/1</a></p>