Ip address extraction