常用正则表达式

1、ip

/^((25[0-5]|2[0-4]\d|[01]?\d\d?)($|(?!\.$)\.)){4}$/
posted @ 2017-04-12 14:25  ning0_o  阅读(76)  评论(0编辑  收藏  举报