123.456.789.123
5533
987.654.321.321
6611
";
preg_match_all('/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*?([0-9]{1,5})/', $s, $matches);
for($i = 0; $i < count($matches[0]); $i++) {
echo $matches[1][$i] . ' : ' . $matches[2][$i] . "\r\n";
}
?>