2007年9月14日
摘要: 转的,http://www.cnblogs.com/maxianghui/archive/2006/05/11/397747.html 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^\d{n}$"。 只能输入至少n位的数字:"^\d{n,}$"。 只能输入m~n位的数字:。"^\d{m,n}$" 只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。 只能输入有两位... 阅读全文
posted @ 2007-09-14 09:32 布瓜去旅行 阅读(1378) 评论(0) 推荐(0) 编辑