正则表达式 验证是否全是空格

var testSpace = /^[ ]*$/g;//验证是否全都为空格

 

posted @ 2012-02-07 15:05  Scool.Miss  阅读(1248)  评论(0编辑  收藏  举报