I have a column filled with websitenames and ip address. i need only entries with ip addresses from it and all entries containing alphabets should be wiped out

eg


1.yahoo.com
cnn.com
299.212.390.21
gsddksjdk.com
1.1.2.2

The output should come as

299.212.390.21
1.1.2.2