title: RegEx Match whole line with first occurrence from the bottom of the file, upwards
body: <p>I'm trying to parse a file with error codes.
  I would only like the first occurrence from the bottom of the file to be returned.</p>
  
  <p>So far, I've got this regex searching for the error code numbers, and it returns the whole line with the Multiline option, but it returns all lines in the file, not just the last one.</p>
  
  <pre><code>^.*?\b(639|640|460|458|664|148)\b.*$
  </code></pre>
  
  <p>I'm using powershell, so if you have an example using powershell - that would be great.</p>
  
  <p>Thank you.</p>