Parse all possible IP addresses from a string.