摘要: IP地址校验 // 验证IP有效性 function isValidIP(ip) { var reg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/ ... 阅读全文
posted @ 2019-03-06 15:55 星辰大海mark-shi 阅读(5351) 评论(0) 推荐(0) 编辑