title: PHP and regex: how to preg_match on multiple line?
body: <p>My HTML is:</p>
  
  <pre><code>line1
  line2
  
  line3 59800 line4
  line5
  line6
  </code></pre>
  
  <p>My goal is to capture: (25 left characters)59800(25 right characters):</p>
  
  <p>I tried with</p>
  
  <pre><code>/.{1,25}59800.{1,25}/igm
  </code></pre>
  
  <p>But I only captures:</p>
  
  <pre><code>line3 59800 line4
  </code></pre>
  
  <p>How do I capture multiple lines?</p>
  
  <p>Here is the test: <a href="http://regexr.com/39498" rel="nofollow noreferrer">http://regexr.com/39498</a></p>