懒人问题!!

kinglht 2003-05-08 01:27:16
如何使用正则表达式限制密码为6—16位?
...全文
42 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
kinglht 2003-05-08
  • 打赏
  • 举报
回复
采纳^.{6,16}$
imfine 2003-05-08
  • 打赏
  • 举报
回复
^[a-zA-Z]\w{6,16}$
The password's first character must be a letter, it must contain at least 6 characters and no more than 16 characters and no characters other than letters, numbers and the underscore may be used

****真的懒
tuzi98 2003-05-08
  • 打赏
  • 举报
回复
^\w{6,16}$
^.{6,16}$

110,539

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧