摘要: 去除html标签: function del_html_tags(str) { var words = ''; words = str.replace(/]+>/g,""); return words; } 去除空格: function Trim(str,is_global) { var result; result = str.replace(/(^\s... 阅读全文
posted @ 2017-11-14 16:23 Shimily 阅读(592) 评论(0) 推荐(0)