title: Select-String - find a string that spans multiple lines
body: <p>I am trying to read lines in a file and search for a pattern that spans two lines. Looking at the file in notepad++ I see a LF char in the file.</p>
  
  <p>Example log.txt: </p>
  
  <pre>
  I want to find this
  
  value here: OK
  </pre>
  
  <p>My simple code does not work and returns nothing:</p>
  
  <pre><code>select-string -Path "log.txt" -Pattern "find this\n*value here: OK"
  </code></pre>
  
  <p>I have tried many combos of various things here including <code>.+</code> and <code>\r</code> that I found posted on various threads. I can get the first line by using:</p>
  
  <pre><code>select-string -Path "log.txt" -Pattern "find this\n*"
  </code></pre>
  
  <p>Result of above is: <code>I want to find this</code></p>
  
  <p>Adding anything more to the line above results in nothing being returned. Any ideas how to do this using select-string? I was trying to avoid using get content due to the potential size of the files I am working with.</p>