摘要: 正则替换 _strs = _strs.replace( /^\s+|\s+$/g, "" ); _strs = _strs.replace( /^(\s|\u00A0)+|(\s|\u00A0)+$/g, "" );//jQuery方法 \u00A0 就是   代表 non-breakin 阅读全文
posted @ 2017-04-15 09:41 提佰萬 阅读(622) 评论(0) 推荐(0) 编辑