Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Regular Expression for MAC Addressby kwolters (Acolyte) |
on May 26, 2001 at 00:19 UTC ( [id://83414]=note: print w/replies, xml ) | Need Help?? |
/[0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}/
That cuts it down a little.
In Section
Seekers of Perl Wisdom
|
|