js 字符串为空

content.replace(/(^\s)|(\s$)/g, "")

posted @ 2014-08-15 18:32  经验源于积累  阅读(251)  评论(0)    收藏  举报