替换html
str.replace(/<[^>]+>/g, '')
正则替换ALL
str.replace(/ /g, '')
正则替换所有空位
str.split(/[\t\r\f\n\s]*/g).join('')