Formatting MAC addresses Cisco seems to require a different format for every solution they have. I use this almost daily, so change the format of one or multiple MAC addresses. Input: aa-aa-aa-bb-bb-bb Output: aaaaaabbbbbb AAAAAABBBBBB aa-aa-aa-bb-bb-bb AA-AA-AA-BB-BB-BB aa:aa:aa:bb:bb:bb AA:AA:AA:BB:BB:BB aaaa.aabb.bbbb AAAA.AABB.BBBB Try it yourself Tipp: the easiest way to change the format of multiple formats, is to choose the desired format, input 1 MAC address per line, and remove the e...| ITTavern.com
So, since I am too stupid to remove empty lines easily, I present to you my overcomplicated solution. Search for the Find / Replace in the operations and replace ^(?:[\t ]*(?:\r?\n|\r))+ with nothing.| ITTavern.com