or download this
>perl -wMstrict -le
"my $str = 'foo 94.198.240.132:60988 bar 174.142.24.201:3128 baz';
...
matched 94.198.240.132:60988 174.142.24.201:3128
'94.198.240.132:60988': '94' '198' '240' '132' '60988'
'174.142.24.201:3128': '174' '142' '24' '201' '3128'