会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Stay Hungry,Stay Foolish!
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration!
博客园
首页
新随笔
联系
管理
订阅
2010年5月17日
Javascript正则表达式详解--转载
摘要: 转载原文 http://www.javaeye.com/topic/30728JS的正则表达式//校验是否全由数字组成function isDigit(s){var patrn=/^[0-9]{1,20}$/;if (!patrn.exec(s)) return falsereturn true}//校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“...
阅读全文
posted @ 2010-05-17 21:12 尹庆超
阅读(317)
评论(0)
推荐(0)
编辑
公告