[rt-users] regex for mac address

Troy Knabe knabe at 4j.lane.edu
Wed Jun 2 17:06:52 EDT 2010


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
knabe at 4j.lane.edu





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100602/e3bf9147/attachment.htm>


More information about the rt-users mailing list