常用正则表达式积累

1.验证输入必须包含六到十二位英文和数字

^(?!\d+$)(?![a-zA-Z]+$)[\da-zA-Z]{6,12}$

 

posted @ 2018-04-12 14:00  Nerver_Late  阅读(86)  评论(0编辑  收藏  举报