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.

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
  • Comment on Re: Regular Expressions for IPv6 Addresses