question: public static String normalizeMac ( String mac ) throws IllegalArgumentException { mac = mac . replaceAll ( "[:-]" , "" ) ; mac = mac . toLowerCase ( ) ; return mac ; }
target:  Translate a MAC to its canonical format.