in reply to Regular Expressions for IPv6 Addresses
Update: Ignore this, I missed that the OP was talking about a IPv6 address, not a MAC address.
Have a look at:
Regexp::Common::Net Mac address option
HTH.