I have get Javascript regex from this Regex link. But its match also mix pattern of MAC address
/^([0-9a-f]{1,2}[\.:-]){5}([0-9a-f]{1,2})$/i
For e.g
AA-BB.CC.DD.EE.FF
as per above regex its true but i want to match same quantifier in whole mac address. As per my requirement above mac address is wrong.
So would please help me how to match same quantifier. i.e for dot(.) find 5 instead of mix pattern same for dash(-) and colon