My regex skills are weak. Can anyone provide me a regex string to parse MAC addresses, in the format of xx:xx:xx:xx:xx:xx from lines read in from a text file? Much appreciated. Thanks...
Printable View
My regex skills are weak. Can anyone provide me a regex string to parse MAC addresses, in the format of xx:xx:xx:xx:xx:xx from lines read in from a text file? Much appreciated. Thanks...
Found several using Google.
One of the results suggested
([0-9a-fA-F][0-9a-fA-F][-:]){5}([0-9a-fA-F][0-9a-fA-F])
Thank you. That's an interesting website.