12 2013 档案

摘要:$(function () { $.getJSON("http://query.yahooapis.com/v1/public/yql?callback=?", { q: "select * from json where url='http://m.weather.com.cn/data/101210101.html'", format: "json" }, function (data) { if (data.query.results) { ... 阅读全文
posted @ 2013-12-31 16:01 王者杂货铺 阅读(232) 评论(0) 推荐(0)
摘要:C# : public string RemoveHTML(string html) { html = Regex.Replace(html, @"", "", RegexOptions.IgnoreCase); html = Regex.Replace(html, @"]*)>", "", RegexOptions.IgnoreCase); html = Regex.Replace(html, @"([\r\n])[\s]+", "", RegexOptions.Ig 阅读全文
posted @ 2013-12-06 15:42 王者杂货铺 阅读(379) 评论(0) 推荐(0)