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.
In reply to Re: Regular Expressions for IPv6 Addresses
by ghenry
in thread Regular Expressions for IPv6 Addresses
by admiralfreezbee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |