This regular expression matches various MAC addresses formats. It doesn't care about the case, neither the separator character as long as the same is used. Take a look at the test strings to learn more.