摘要: String.prototype.Trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); } function getcontent(str) { var result, length, repl = '罓', contaion = {}, index = 0; //var patt = new RegExp("@[^@\s]* "); var patt = /@[^@\s]*/; wh... 阅读全文
posted @ 2014-02-19 09:26 闭眼看世界 阅读(423) 评论(0) 推荐(0)