title: How to grab IP:PORT with regex?
body: <p>I'm creating a small IP:PORT scraper in PHP. The problem is that I'm pretty unfamiliar with RegEx.</p>
  
  <p>So I've been piecing together what I can.</p>
  
  <p>Here's what I've got:
  <code>/\b(?:(?: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]?):([0-9]{1,5})\b/</code></p>
  
  <p>I know this isn't the best. At least not the end to grab the port, because it means that ports will be able to be things like 99999. </p>
  
  <p>Also, it seems to return two matches this way. The IP:PORT and the PORT. I just need it to grab the full IP:PORT, not one or the other.</p>