IPv6 Address

Full IPv6 address

Pattern

^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$

Matching examples

2001:0db8:85a3:0000:0000:8a2e:0370:7334

Non-matching examples

2001:db8::1not-ipv6

Breakdown

([0-9a-fA-F]{1,4}:){7}
7 groups of 1-4 hex + colon
[0-9a-fA-F]{1,4}$
8th group

Related tools

Other patterns