I've some text in following form
29secs 183.207.224.50 84 flag China
HTTP High +KA
29secs 120.203.214.206 3128 flag China
HTTPS High +KA
29secs 183.207.232.193 8080 flag China
HTTPS High +KA
29secs 60.29.248.142 8080 flag China
HTTPS High +KA
29secs 211.162.0.162 80 flag China
HTTPS High +KA
29secs 111.161.126.99 80 flag China
HTTPS High +KA
29secs 202.119.25.228 9999 flag China
It's just some data from public proxy server provider. I just want to get IP address and Port so I'm using following regular expression
[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\s+[0-9]{1,5}
Now it's selecting all the IP addresses and Port. But I want to select everything else which is not IP address and Port so that I can delete them to just get IPs and Port. Can someone tell me how can I select everything else which is not fulfilling regular expression requirement?? Thank You!