Hi All,
Anybody can please me for regexmatch code IPv6 Ip Address. I an using this regex code
"^([0-9a-fA-F]{0,4}:){7}[0-9a-fA-F]{0,4}$"
Using above code this scenario:
a) :2551:FFFF::3333:4566:3456:0 is also vaild but I don't want to start IP address with any special character.
Some of the example below that I want to match regex code valid and invaild like:
a) :2551:FFFF::3333:4566:3456:0 (Invalid)
b) 1001:2551:FFFF:255b:1222:3333:4566:3456 (valid) 1001:2551:F:255b:1222:3333:4566:3456 (valid)
c) 1001:::255b::::3456 (vaild)
d) 1001:::255b:::456: (invalid)
I need a regex match code which passed all the above mention examples.
Thanks
Discussion posts and replies are publicly visible