I have a file something like this
Script http://127.0.0.1/ blabla 127.0.0.1 Script 127.0.0.2/index.html bla bla 127.0.0.2 Script 127.0.0.3/contact bla bla Script 127.0.0.4/settings bla bla 127.0.0.4
I want to get only the lines that contain just a single ip not all the ips from all the lines.
How can i do this?
the results should be
127.0.0.1 127.0.0.2 127.0.0.4