in reply to Regex to take an ip address before a comma
Regexp::Common::net also provides regexes for parsing IPv4 addresses.