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

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

 

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