http://www.perlmonks.org?node_id=26166


in reply to Re: One for the regexp fans
in thread One for the regexp fans

Another common format for MAC address display is nnnn:nnnn:nnnn (common amongst Cisco gear, anyway).   In either case, it's the same 12 hex digits, only the delimiter and break-points change.

Is simple code that handles both formats possible?
    cheers,
    ybiC