regex - String is a prefix of a valid IPv6 -
i'm working on auto-completion task , want check whether given string prefix of valid ipv6 address. example, string "2001:" prefix of ipv6 address "2001:db8::2:1" or can prefix of ipv6 address "2001:a8::4:c". function should return true if string prefix of valid ipv6. i've searched internet , found ipv6 validation only. thanks
Comments
Post a Comment