会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
充实自己,充实生活.善待生活
任何事没有永远.也别问怎样才能永远.生活有很多无奈.
管理
2007年6月27日
正则表达式
摘要: reg=/^\s+$/g reg.test(str) 匹配数字字母下划线: /^\w+$/g 例子: text = Regex.Replace(text, "[\\s]{2,}", " ");//two or more spaces text = Regex.Replace(text, "()+|()", "\n");//回车 text = Regex.Replace(text,...
阅读全文
posted @ 2007-06-27 16:17 Microbar
阅读(189)
评论(0)
推荐(0)
编辑
公告