摘要: 1.校验mac: function isValidMAC(mac) { var reg = /^[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}$/; return reg.test 阅读全文
posted @ 2022-10-26 11:14 Asolitary 阅读(258) 评论(0) 推荐(0) 编辑