in reply to Validate Ip address Regexp

Perhaps you should be using Regexp::Common::net.
Bill