Regular Expression

\b([0-9a-fA-F]{2}:??){5}([0-9a-fA-F]{2})\b

Tags: networking