Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Regular Expression for MAC Address

by tchrist (Pilgrim)
on Feb 18, 2012 at 18:29 UTC ( #954776=note: print w/ replies, xml ) Need Help??


in reply to Regular Expression for MAC Address

$ perl -MRegexp::Common -E 'say $RE{net}{MAC}' (?:(?:[0-9a-fA-F]{1,2}):(?:[0-9a-fA-F]{1,2}):(?:[0-9a-fA-F]{1,2}):(?:[ +0-9a-fA-F]{1,2}):(?:[0-9a-fA-F]{1,2}):(?:[0-9a-fA-F]{1,2}))
Comment on Re: Regular Expression for MAC Address
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-05-24 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?