标签:java javascript re div line c
var
text =
"sess sges"
;
reg = /\s/;
if
(reg.exec(text)==
null
)
alert(
‘没有空格‘
);
else
‘有空格‘
判断空格,布布扣,bubuko.com
判断空格
原文地址:http://www.cnblogs.com/afei-happy/p/3836264.html