How could I extract just IP numbers from a file formatted like whatfollows?test-Zookeeper2-Z1-solr1006 10.15.5.22610.15.6.103 test-Zookeeper2-Z2-solr100610.15.5.92 test-Zookeeper3-Z1-solr100610.15.6.217 test-Zookeeper1-Z2-solr100610.15.6.83 test-Zookeeper3-Z2-solr1006test-Zookeeper-Z1-solr1006 10.15.7.106
How to extract IP numbers from a text file?
shell script