let ipv4Regexp=/^(?!\.)((^|\.)([1-9]?\d|1\d\d|2(5[0-5]|[0-4]\d))){4}$/gm
JavaScript-判断ipv4地址合法的正则表达式
最新推荐文章于 2024-07-10 18:13:56 发布
let ipv4Regexp=/^(?!\.)((^|\.)([1-9]?\d|1\d\d|2(5[0-5]|[0-4]\d))){4}$/gm