js replace()去除代码中空格的实例 实例如下:$("#stream_title").val().trim().replace(/\s/g,"");trim去首尾的.replace(/\s/g,"")去中间的其中&nb 去除空格