只能输入数字和字母的正则

 
  

/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/


猜你喜欢

转载自blog.csdn.net/TottyAndBaty/article/details/83829193
今日推荐