//i 忽略大小写 //g 全局匹配//m 多行匹配/*//邮编匹配var pattern = /^[\w\-]+\.(zip|gz|rar)$/; //[a-zA-Z0-9_]可以用\w代替 &
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号