Hi Troy,
The format for MAC addresses is not standardized. I've seen them with
(Win, RedHat) and without (Solaris) leading zeros, colons (RH, Solaris)
or hyphens (Win) as separators, and uppercase (Win, RedHat) or lowercase
(Solaris) hex values. I think I've also seen network gear that shows
I am trying to do a regex for mac address verification. My first attempt looks
like this, but did not work. Anyone have any insight as to what I am missing?
^[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}$
--
Troy Knabe
kn...@4j.lane.edu
Discover RT's hidden sec