title: regex in notepad++ or sed to return two different strings
body: <p>I have a report that has information about a list of servers.  I am wanting to search this list for uptime over a certain amount, and also the IP of the server.  I have been using notepad++ to do the searching, but sed syntax would be ok too.  The report has data like this:</p>
  
  <pre><code>some.dns.com
  up 720 days,
  some version
  several lines of disk space information, between 14 and 16 lines
  Connection to 10.1.1.1 closed.
  
  some.other.dns
  up 132 days,
  some version
  several lines of disk space information, between 14 and 16 lines
  Connection to 10.1.1.2 closed.
  </code></pre>
  
  <p>I've come up with the following so far, which gives me the uptime threshold I need:</p>
  
  <pre><code>up ([9-9]\d|\d{3,} days,)
  </code></pre>
  
  <p>But I also need the IP addresses to make sense of it, and haven't been able to figure out a way to get JUST the IPs related to the servers with high uptime.  </p>
  
  <p>I've found something like this to find IP addresses:  </p>
  
  <pre><code>((?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?\.){3}(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))
  </code></pre>
  
  <p>So, I was hoping to return something like the following:</p>
  
  <pre><code>up 720 days,
  10.1.1.1
  </code></pre>