正则表达式 - php正则匹配截取json

WBOY
풀어 주다: 2016-06-06 20:39:38
원래의
1387명이 탐색했습니다.

<code>{"total":1500,"end":false,"lastindex":39,"list":[{"id":"982ebc7bf8524b6604f7f5233e7e1bd2","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":0,"title":"\u3010\u591a\u56fe\u3011\u5462\u5b50+\u519b\u5927\u8863\u5355\u54c1","litetitle":"","width":"1200","height":"1200","imgsize":"191KB","imgtype":"JPEG","key":"5cedd10556","dspurl":"www.meilishuo.com","link":"http:\/\/www.meilishuo.com\/topic\/hot\/460993","source":1,"img":"http:\/\/imgtest.meiliworks.com\/pic\/_o\/5b\/08\/828727e9e7061db1eeeb3505dd2d_1200_1200.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t019c58e5210515daae.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t019c58e5210515daae.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"48031756bbbabcb5e95e7e2b57139436","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":1,"title":"87\u5f0f\u519b\u5927\u8863+\u68c9\u8863","litetitle":"","width":"600","height":"722","imgsize":"411KB","imgtype":"JPEG","key":"2bc6ae268c","dspurl":"product.ch.gongcha...","link":"http:\/\/product.ch.gongchang.com\/d17450180.html","source":1,"img":"http:\/\/cn.gcimg.net\/gcproduct\/mog_day_120324\/120324223308ea4d72dee1de6f.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t01b202bbac635df0dd.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01b202bbac635df0dd.jpg","thumbWidth":199,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"fb478bbaa2cb4688186628adee71a1eb","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":3,"title":"\u98ce\u96e880\u5e74--\u89e3\u653e\u519b\u519b\u88c5\u53d1\u5c55\u5386\u7a0b\u56de\u987e - \u56fe\u7247\u6444 - \u641c","litetitle":"","width":"442","height":"320","imgsize":"14KB","imgtype":"JPEG","key":"773552413c","dspurl":"q.sohu.com","link":"http:\/\/q.sohu.com\/forum\/16\/topic\/81810","source":1,"img":"http:\/\/images.cms.yidaba.com\/industry\/fzfzpg\/jczs\/images\/picb6hvvmrw.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t017c16582993c8d11d.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t017c16582993c8d11d.jpg","thumbWidth":332,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"d8d06671d7a3d036d9260711c46d995c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":5,"title":"\u52b3\u4fdd\u519b\u5927\u8863\u3010\u6279\u53d1\u4ef7\u683c,\u5382\u5bb6,\u56fe\u7247,\u91c7\u8d2d\u3011-\u4e2d\u56fd\u5236","litetitle":"","width":"469","height":"469","imgsize":"35KB","imgtype":"JPEG","key":"6cc84f8fb0","dspurl":"cn.made-in-china.c...","link":"http:\/\/cn.made-in-china.com\/showroom\/gdlaob\/product-detailpedJhUZTgGRb\/%E5%8A%B3%E4%BF%9D%E5%86%9B%E5%A4%A7%E8%A1%A3.html","source":1,"img":"http:\/\/image.cn.made-in-china.com\/2f0j01pedabzARHGuC\/%E5%8A%B3%E4%BF%9D%E5%86%9B%E5%A4%A7%E8%A1%A3.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t0117ce5c1550088a60.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t0117ce5c1550088a60.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"b420e480be54a1322fb25eb22c9a8f9a","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":6,"title":"\u5218\u5fb7\u534e\u7a7f\\\u519b\u5927\u8863\\\u73b0\u8eab\u7ea2\u6bef","litetitle":"","width":"940","height":"574","imgsize":"173KB","imgtype":"JPEG","key":"f1b6ce43a6","dspurl":"qd.sohu.com","link":"http:\/\/qd.sohu.com\/20131210\/n391536957_3.shtml","source":1,"img":"http:\/\/photocdn.sohu.com\/20131210\/Img391536961.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t019f00d916dde8d6ee.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t019f00d916dde8d6ee.jpg","thumbWidth":393,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"e2dfff8b6c773281392ca136493b4404","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":9,"title":"\u5218\u5fb7\u534e\u519b\u5927\u8863\u8d70\u7ea2!\u7f51\u53cb\u6342\u8138:\u957f\u5f97\u5e05\u624d\u80fd\u65f6\u5c1a_\u56fe","litetitle":"","width":"366","height":"550","imgsize":"29KB","imgtype":"JPEG","key":"7a62b94390","dspurl":"news.xinhuanet.com","link":"http:\/\/news.xinhuanet.com\/photo\/2013-12\/11\/c_125843161_10.htm","source":1,"img":"http:\/\/news.xinhuanet.com\/photo\/2013-12\/11\/125843161_101n.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t018ee3e8829cc07950.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t018ee3e8829cc07950.jpg","thumbWidth":160,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"23708dfcae852de4c6a86da36756a95f","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":11,"title":"\u7ade\u4e89\u5728\u4e8e\u9009\u5bf9\u624b:\u63ed\u79d8\u5218\u5fb7\u534e\u519b\u5927\u8863\u7206\u7ea2\u7684\u539f\u56e0-","litetitle":"","width":"436","height":"521","imgsize":"43KB","imgtype":"JPEG","key":"a70830fd6b","dspurl":"opinion.hexun.com","link":"http:\/\/opinion.hexun.com\/2013-12-28\/160989362.html","source":1,"img":"http:\/\/i3.hexunimg.cn\/2013-12-28\/160989363.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t01637375ee04a3e675.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t01637375ee04a3e675.jpg","thumbWidth":201,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"03679175da9c4dac0e57b9aca853de8c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":12,"title":"\u519b\u5927\u8863_\u4e2d\u56fd\u7f51","litetitle":"","width":"398","height":"600","imgsize":"51KB","imgtype":"JPEG","key":"7c5baa7c5a","dspurl":"big5.china.com.cn","link":"http:\/\/big5.china.com.cn\/info\/2009-08\/25\/content_18398623.htm","source":1,"img":"http:\/\/images.china.cn\/attachement\/jpg\/site1000\/20090825\/001143201a3e0bfdd59d2c.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t010eb3785c0c1f4878.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t010eb3785c0c1f4878.jpg","thumbWidth":159,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"b55a977be732c0afdac0397cec8866ad","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":13,"title":"\u4fdd\u6696\u624d\u662f\u738b\u9053 \u6ca1\u6709\u519b\u5927\u8863\u600e\u80fd\u8fc7\u51ac-\u4f0a\u4eba\u5728\u7ebf-\u6d59","litetitle":"","width":"600","height":"500","imgsize":"84KB","imgtype":"JPEG","key":"5cede57add","dspurl":"she.zjol.com.cn","link":"http:\/\/she.zjol.com.cn\/system\/2014\/01\/07\/019797265.shtml","source":1,"img":"http:\/\/img.zjolcdn.com\/pic\/0\/05\/94\/87\/5948702_472258.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01d10ba2eefb0f7e81.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01d10ba2eefb0f7e81.jpg","thumbWidth":288,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"905921ed65e764de4473a2c87e1121f4","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":14,"title":"\u3010\u56fe\u3011\u519b\u5927\u8863+\u519b\u7528\u68c9\u8863","litetitle":"","width":"450","height":"450","imgsize":"37KB","imgtype":"JPEG","key":"696e865c6b","dspurl":"www.meilishuo.com","link":"http:\/\/www.meilishuo.com\/share\/42736817?wzz=p0r8c1","source":1,"img":"http:\/\/imgtest.meiliworks.com\/pic\/l\/4b\/4a\/4bf87f4f26d6526a33348c2a8541_640_640.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t018bfcbefe67b15bd0.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t018bfcbefe67b15bd0.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"3bc15b7dae77eb48d3114ce7bc5c38cf","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":15,"title":"\u5218\u5fb7\u534e\u7a7f\\\u519b\u5927\u8863\\\u73b0\u8eab\u7ea2\u6bef","litetitle":"","width":"1024","height":"741","imgsize":"107KB","imgtype":"JPEG","key":"2f6d00f0bc","dspurl":"news.66wz.com","link":"http:\/\/news.66wz.com\/system\/2013\/12\/09\/103915481.shtml","source":1,"img":"http:\/\/img2.cache.netease.com\/photo\/0003\/2013-12-09\/9FK5NNTH00AJ0003.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t01d1848f74097d208e.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t01d1848f74097d208e.jpg","thumbWidth":332,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"3d8bf52aa0ecea2c52d241568326da1c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":17,"title":"\u519b\u5927\u8863\u51fa\u79df,\u96f7\u950b\u5e3d\u51fa\u79df","litetitle":"","width":"830","height":"622","imgsize":"1122KB","imgtype":"PNG","key":"2cefe3a9c7","dspurl":"www.c-c.com","link":"http:\/\/www.c-c.com\/ctrl\/pic-38655398.html","source":1,"img":"http:\/\/img.c-c.com\/timg\/2012\/12\/21\/09\/reebokbitter0943360740.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t0151801f57c29195f0.png","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t0151801f57c29195f0.png","thumbWidth":320,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"76755ef3040b3e5b911befa4dfa987b8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":20,"title":"<em>\u519b\u5927\u8863\u4f9b\u5e94\u4fe1\u606f <em>\u519b\u5927\u8863\u8d38\u6613\u4fe1\u606f - \u4e2d\u534e\u7eba\u7ec7\u7f51","litetitle":"","width":"400","height":"542","imgsize":"71KB","imgtype":"JPEG","key":"72fc62f96f","dspurl":"www.texindex.com.c...","link":"http:\/\/www.texindex.com.cn\/Trade\/Detail_11_914380.html","source":2,"img":"http:\/\/www.texindex.com.cn\/Upload\/201010\/21\/2010102193633718.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t017abd8576049d0c39.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t017abd8576049d0c39.jpg","thumbWidth":177,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"39b94b6fede3c8f9607b2bed0a9fc6cf","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":21,"title":"\u5218\u5fb7\u534e<em>\u519b\u5927\u8863\u4eae\u76f8\u7ea2\u6bef \u76d8\u70b9\u660e\u661f\u7a7f<em>\u519b\u5927\u8863\u8c01\u6700","litetitle":"","width":"270","height":"410","imgsize":"24KB","imgtype":"JPEG","key":"2e36a9d03d","dspurl":"www.hinews.cn","link":"http:\/\/www.hinews.cn\/news\/system\/2013\/12\/10\/016287508.shtml","source":2,"img":"http:\/\/www.hinews.cn\/pic\/0\/15\/11\/93\/15119397_119838.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01c109f744f04d4c1b.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01c109f744f04d4c1b.jpg","thumbWidth":158,"dsptime":"","thumbHeight":240,"grpcnt":"14","fixedSize":false},{"id":"6c41b455b1ff5a003ee024a4d2d7855e","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":24,"title":"<em>\u519b\u5927\u8863_\u56fe\u7247_\u4e92\u52a8\u767e\u79d1","litetitle":"","width":"400","height":"346","imgsize":"42KB","imgtype":"JPEG","key":"a47cb6ee63","dspurl":"tupian.baike.com","link":"http:\/\/tupian.baike.com\/a4_27_31_01300000328622123246312965271_jpg.html","source":2,"img":"http:\/\/a4.att.hudong.com\/27\/31\/01300000328622123246312965271.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t01fe3bfd3448fadc18.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01fe3bfd3448fadc18.jpg","thumbWidth":277,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"ce926655c0666d1c31b710d2b7f6019b","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":25,"title":"\u56fe\u6587:\u8dc6\u62f3\u9053\u9009\u624bT\u53f0\u8d70\u79c0 \u7a7f<em>\u519b\u5927\u8863\u884c\u519b\u793c-\u641c\u72d0","litetitle":"","width":"500","height":"782","imgsize":"122KB","imgtype":"JPEG","key":"bd59a74711","dspurl":"sports.sohu.com","link":"http:\/\/sports.sohu.com\/20080314\/n255717545.shtml","source":2,"img":"http:\/\/photocdn.sohu.com\/20080314\/Img255717546.JPG","thumb":"http:\/\/p3.so.qhimg.com\/t01664b43d30f4c690d.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01664b43d30f4c690d.jpg","thumbWidth":153,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"4ce71267dee655ddc99d7a15afabd31b","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":26,"title":"<em>\u519b\u5927\u8863","litetitle":"","width":"500","height":"500","imgsize":"97KB","imgtype":"JPEG","key":"f1c8dcbd7b","dspurl":"wuxingtrade.b2b.hc...","link":"http:\/\/wuxingtrade.b2b.hc360.com\/supply\/146591599.html","source":2,"img":"http:\/\/img26.hc360.cn\/26\/busin\/118\/866\/b\/26-118866776.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01f426c09aac272c01.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01f426c09aac272c01.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"086b1ed4269bab8798afc440b5db745d","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":29,"title":"\u5218\u5fb7\u534e\u7a7f<em>\u519b\u5927\u8863\u6df7\u642d\u4eae\u778e\u773c \u6c88\u9633\u53c2\u52a0\u300a\u98ce\u66b4\u300b","litetitle":"","width":"538","height":"563","imgsize":"84KB","imgtype":"JPEG","key":"8a41bc6cf4","dspurl":"www.fj.xinhuanet.c...","link":"http:\/\/www.fj.xinhuanet.com\/news\/2013-12\/09\/c_118483265_8.htm","source":2,"img":"http:\/\/www.fj.xinhuanet.com\/news\/2013-12\/09\/118483265_91n.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t019d81e4f9fbe7689b.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t019d81e4f9fbe7689b.jpg","thumbWidth":229,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"63dfcfe2e50ed0f461c07f51dbbd9868","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":30,"title":"\u5f88\u62c9\u98ce\u7684<em>\u519b\u5927\u8863_\u7cbe\u5f69\u8d34\u56fe_\u90b9\u57ce\u8bba\u575b_\u90b9\u57ce\u5728\u7ebf","litetitle":"","width":"519","height":"547","imgsize":"34KB","imgtype":"JPEG","key":"9935fb1c5d","dspurl":"www.zoucheng.cc","link":"http:\/\/www.zoucheng.cc\/forum\/thread-1148664-view-0-back-0-1-1.html","source":2,"img":"http:\/\/www.photo.ccoo.cn\/bbs\/2009112\/200911222241353.jpg","thumb":"http:\/\/p2.so.qhimg.com\/t01364cad64fb12c797.jpg","_thumb":"http:\/\/p2.so.qhimg.com\/sdr\/_240_\/t01364cad64fb12c797.jpg","thumbWidth":228,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"2fd0d59b378aad8efdfe4b7f0df6a4f8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":31,"title":"<em>\u519b\u5927\u8863\u7537\u58eb\u6743\u5a01\u6392\u884c\u699c,<em>\u519b\u5927\u8863\u7537\u58eb\u6b63\u54c1\u6298\u6263,\u519b","litetitle":"","width":"800","height":"800","imgsize":"418KB","imgtype":"GIF","key":"e76e6d8d52","dspurl":"www.42hc.com","link":"http:\/\/www.42hc.com\/mctjghei\/","source":2,"img":"http:\/\/image.taobao.com\/bao\/uploaded\/i4\/11752029507529994\/T11W6VFlFfXXXXXXXX_!!1-item_pic.gif","thumb":"http:\/\/p4.so.qhimg.com\/t01bfc5c6422fe47b49.gif","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t01bfc5c6422fe47b49.gif","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"6d1a93c83ae264dc703f4ca1f12ed0a1","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":32,"title":"<em>\u519b\u5927\u8863_\u5fd7\u8da3\u7f51","litetitle":"","width":"340","height":"417","imgsize":"20KB","imgtype":"JPEG","key":"b27d2355a1","dspurl":"www.bestb2b.com","link":"http:\/\/www.bestb2b.com\/prod_6950427.htm","source":2,"img":"http:\/\/image2.bestb2b.com\/upload\/pic\/2013\/011\/28\/116\/820866\/136203768525948.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t017f74f06f37c35b5a.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t017f74f06f37c35b5a.jpg","thumbWidth":196,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"e5d6ba8b50ac6be0077e47cee137e7d4","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":33,"title":"\u5317\u4eac\u7eaf\u68c9\u82b1<em>\u519b\u5927\u8863\u6279\u53d1\u5382\u5bb6 13699182231 - qi","litetitle":"","width":"640","height":"527","imgsize":"140KB","imgtype":"JPEG","key":"bc1d14689b","dspurl":"www.yupoo.com","link":"http:\/\/www.yupoo.com\/photos\/qijiaxinxin\/87336677\/","source":2,"img":"http:\/\/photo.yupoo.com\/qijiaxinxin\/CsK8kZO0\/medish.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t014a84e1eac6428086.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t014a84e1eac6428086.jpg","thumbWidth":291,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"b767a3ac1b600287c1347cb97cb72d6f","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":36,"title":"07<em>\u519b\u5927\u8863 \u6b63\u54c1 \u6700\u65b0\u6392\u884c\u699c\u524d10\u540d_\u7528\u623736279","litetitle":"","width":"600","height":"800","imgsize":"65KB","imgtype":"JPEG","key":"37d3dbbc77","dspurl":"blog.sina.com.cn","link":"http:\/\/blog.sina.com.cn\/s\/blog_d83ea0020101gn8q.html","source":2,"img":"http:\/\/img04.taobaocdn.com\/bao\/uploaded\/i4\/i4\/10053028407700133\/T18QMsXoddXXXXXXXX_!!0-item_pic.jpg","thumb":"http:\/\/p2.so.qhimg.com\/t014511fa5771704577.jpg","_thumb":"http:\/\/p2.so.qhimg.com\/sdr\/_240_\/t014511fa5771704577.jpg","thumbWidth":180,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"adb9e64381b3e292142ba9a4a5881fb8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":37,"title":"PandaTown 8\u540b 20\u5398\u7c73 \u718a\u732b\u7528 \u6000\u65e7\u5c0f<em>\u519b\u5927\u8863\u5957","litetitle":"","width":"700","height":"700","imgsize":"88KB","imgtype":"JPEG","key":"0343167595","dspurl":"www.360buy.com","link":"http:\/\/www.360buy.com\/bigimage.aspx?id=1000056746","source":2,"img":"http:\/\/img10.360buyimg.com\/n0\/6579\/27f7e926-ddd4-4b22-a9a7-7434810af228.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01e7b4febc1d0501b1.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01e7b4febc1d0501b1.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"8cfe4151f43fcb5757a6d83eb80246fc","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":38,"title":"\u56fe\u6587:\u5218\u5fb7\u534e\u6cc9\u5dde\u6f14\u5531\u4f1a-\u62ab<em>\u519b\u5927\u8863\u5fa1\u5bd2_\u5f71\u97f3\u5a31","litetitle":"","width":"330","height":"550","imgsize":"36KB","imgtype":"JPEG","key":"e8d22f5c58","dspurl":"ent.sina.com.cn","link":"http:\/\/ent.sina.com.cn\/y\/p\/2011-06-02\/12043324259.shtml","source":2,"img":"http:\/\/i2.sinaimg.cn\/ent\/y\/p\/2011-06-02\/U5956P28T3D3324259F346DT20110602120420.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t0128629c9db9b41226.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t0128629c9db9b41226.jpg","thumbWidth":144,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"9a36d643ebc33d729ada103564ff1c79","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":39,"title":"\u7ec4\u56fe:\u4f17\u661f <em>\u519b\u5927\u8863 PK \u5218\u5fb7\u534e\u65f6\u9ae6 \u7530\u4eae\u571f\u6c14 _\u4eac","litetitle":"","width":"500","height":"287","imgsize":"62KB","imgtype":"JPEG","key":"35b681a0ec","dspurl":"happy.jinghua.cn","link":"http:\/\/happy.jinghua.cn\/yule\/stars\/2013\/1212\/23803_2.shtml","source":2,"img":"http:\/\/pic.nen.com.cn\/0\/11\/86\/77\/11867782_488144.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t01f40f45f8fb393b80.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t01f40f45f8fb393b80.jpg","thumbWidth":418,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false}],"boxresult":null,"wordguess":null}
</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></code>
로그인 후 복사
로그인 후 복사

怎么用正则把中间的[]截取出来。现在这样没办法用json_decode,求帮忙。

回复内容:

<code>{"total":1500,"end":false,"lastindex":39,"list":[{"id":"982ebc7bf8524b6604f7f5233e7e1bd2","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":0,"title":"\u3010\u591a\u56fe\u3011\u5462\u5b50+\u519b\u5927\u8863\u5355\u54c1","litetitle":"","width":"1200","height":"1200","imgsize":"191KB","imgtype":"JPEG","key":"5cedd10556","dspurl":"www.meilishuo.com","link":"http:\/\/www.meilishuo.com\/topic\/hot\/460993","source":1,"img":"http:\/\/imgtest.meiliworks.com\/pic\/_o\/5b\/08\/828727e9e7061db1eeeb3505dd2d_1200_1200.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t019c58e5210515daae.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t019c58e5210515daae.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"48031756bbbabcb5e95e7e2b57139436","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":1,"title":"87\u5f0f\u519b\u5927\u8863+\u68c9\u8863","litetitle":"","width":"600","height":"722","imgsize":"411KB","imgtype":"JPEG","key":"2bc6ae268c","dspurl":"product.ch.gongcha...","link":"http:\/\/product.ch.gongchang.com\/d17450180.html","source":1,"img":"http:\/\/cn.gcimg.net\/gcproduct\/mog_day_120324\/120324223308ea4d72dee1de6f.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t01b202bbac635df0dd.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01b202bbac635df0dd.jpg","thumbWidth":199,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"fb478bbaa2cb4688186628adee71a1eb","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":3,"title":"\u98ce\u96e880\u5e74--\u89e3\u653e\u519b\u519b\u88c5\u53d1\u5c55\u5386\u7a0b\u56de\u987e - \u56fe\u7247\u6444 - \u641c","litetitle":"","width":"442","height":"320","imgsize":"14KB","imgtype":"JPEG","key":"773552413c","dspurl":"q.sohu.com","link":"http:\/\/q.sohu.com\/forum\/16\/topic\/81810","source":1,"img":"http:\/\/images.cms.yidaba.com\/industry\/fzfzpg\/jczs\/images\/picb6hvvmrw.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t017c16582993c8d11d.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t017c16582993c8d11d.jpg","thumbWidth":332,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"d8d06671d7a3d036d9260711c46d995c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":5,"title":"\u52b3\u4fdd\u519b\u5927\u8863\u3010\u6279\u53d1\u4ef7\u683c,\u5382\u5bb6,\u56fe\u7247,\u91c7\u8d2d\u3011-\u4e2d\u56fd\u5236","litetitle":"","width":"469","height":"469","imgsize":"35KB","imgtype":"JPEG","key":"6cc84f8fb0","dspurl":"cn.made-in-china.c...","link":"http:\/\/cn.made-in-china.com\/showroom\/gdlaob\/product-detailpedJhUZTgGRb\/%E5%8A%B3%E4%BF%9D%E5%86%9B%E5%A4%A7%E8%A1%A3.html","source":1,"img":"http:\/\/image.cn.made-in-china.com\/2f0j01pedabzARHGuC\/%E5%8A%B3%E4%BF%9D%E5%86%9B%E5%A4%A7%E8%A1%A3.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t0117ce5c1550088a60.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t0117ce5c1550088a60.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"b420e480be54a1322fb25eb22c9a8f9a","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":6,"title":"\u5218\u5fb7\u534e\u7a7f\\\u519b\u5927\u8863\\\u73b0\u8eab\u7ea2\u6bef","litetitle":"","width":"940","height":"574","imgsize":"173KB","imgtype":"JPEG","key":"f1b6ce43a6","dspurl":"qd.sohu.com","link":"http:\/\/qd.sohu.com\/20131210\/n391536957_3.shtml","source":1,"img":"http:\/\/photocdn.sohu.com\/20131210\/Img391536961.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t019f00d916dde8d6ee.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t019f00d916dde8d6ee.jpg","thumbWidth":393,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"e2dfff8b6c773281392ca136493b4404","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":9,"title":"\u5218\u5fb7\u534e\u519b\u5927\u8863\u8d70\u7ea2!\u7f51\u53cb\u6342\u8138:\u957f\u5f97\u5e05\u624d\u80fd\u65f6\u5c1a_\u56fe","litetitle":"","width":"366","height":"550","imgsize":"29KB","imgtype":"JPEG","key":"7a62b94390","dspurl":"news.xinhuanet.com","link":"http:\/\/news.xinhuanet.com\/photo\/2013-12\/11\/c_125843161_10.htm","source":1,"img":"http:\/\/news.xinhuanet.com\/photo\/2013-12\/11\/125843161_101n.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t018ee3e8829cc07950.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t018ee3e8829cc07950.jpg","thumbWidth":160,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"23708dfcae852de4c6a86da36756a95f","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":11,"title":"\u7ade\u4e89\u5728\u4e8e\u9009\u5bf9\u624b:\u63ed\u79d8\u5218\u5fb7\u534e\u519b\u5927\u8863\u7206\u7ea2\u7684\u539f\u56e0-","litetitle":"","width":"436","height":"521","imgsize":"43KB","imgtype":"JPEG","key":"a70830fd6b","dspurl":"opinion.hexun.com","link":"http:\/\/opinion.hexun.com\/2013-12-28\/160989362.html","source":1,"img":"http:\/\/i3.hexunimg.cn\/2013-12-28\/160989363.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t01637375ee04a3e675.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t01637375ee04a3e675.jpg","thumbWidth":201,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"03679175da9c4dac0e57b9aca853de8c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":12,"title":"\u519b\u5927\u8863_\u4e2d\u56fd\u7f51","litetitle":"","width":"398","height":"600","imgsize":"51KB","imgtype":"JPEG","key":"7c5baa7c5a","dspurl":"big5.china.com.cn","link":"http:\/\/big5.china.com.cn\/info\/2009-08\/25\/content_18398623.htm","source":1,"img":"http:\/\/images.china.cn\/attachement\/jpg\/site1000\/20090825\/001143201a3e0bfdd59d2c.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t010eb3785c0c1f4878.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t010eb3785c0c1f4878.jpg","thumbWidth":159,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"b55a977be732c0afdac0397cec8866ad","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":13,"title":"\u4fdd\u6696\u624d\u662f\u738b\u9053 \u6ca1\u6709\u519b\u5927\u8863\u600e\u80fd\u8fc7\u51ac-\u4f0a\u4eba\u5728\u7ebf-\u6d59","litetitle":"","width":"600","height":"500","imgsize":"84KB","imgtype":"JPEG","key":"5cede57add","dspurl":"she.zjol.com.cn","link":"http:\/\/she.zjol.com.cn\/system\/2014\/01\/07\/019797265.shtml","source":1,"img":"http:\/\/img.zjolcdn.com\/pic\/0\/05\/94\/87\/5948702_472258.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01d10ba2eefb0f7e81.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01d10ba2eefb0f7e81.jpg","thumbWidth":288,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"905921ed65e764de4473a2c87e1121f4","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":14,"title":"\u3010\u56fe\u3011\u519b\u5927\u8863+\u519b\u7528\u68c9\u8863","litetitle":"","width":"450","height":"450","imgsize":"37KB","imgtype":"JPEG","key":"696e865c6b","dspurl":"www.meilishuo.com","link":"http:\/\/www.meilishuo.com\/share\/42736817?wzz=p0r8c1","source":1,"img":"http:\/\/imgtest.meiliworks.com\/pic\/l\/4b\/4a\/4bf87f4f26d6526a33348c2a8541_640_640.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t018bfcbefe67b15bd0.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t018bfcbefe67b15bd0.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"3bc15b7dae77eb48d3114ce7bc5c38cf","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":15,"title":"\u5218\u5fb7\u534e\u7a7f\\\u519b\u5927\u8863\\\u73b0\u8eab\u7ea2\u6bef","litetitle":"","width":"1024","height":"741","imgsize":"107KB","imgtype":"JPEG","key":"2f6d00f0bc","dspurl":"news.66wz.com","link":"http:\/\/news.66wz.com\/system\/2013\/12\/09\/103915481.shtml","source":1,"img":"http:\/\/img2.cache.netease.com\/photo\/0003\/2013-12-09\/9FK5NNTH00AJ0003.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t01d1848f74097d208e.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t01d1848f74097d208e.jpg","thumbWidth":332,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"3d8bf52aa0ecea2c52d241568326da1c","qqface_down_url":false,"downurl":false,"grpmd5":"be105fcea7ec2c03b02641cdbf3b8f4a","type":0,"index":17,"title":"\u519b\u5927\u8863\u51fa\u79df,\u96f7\u950b\u5e3d\u51fa\u79df","litetitle":"","width":"830","height":"622","imgsize":"1122KB","imgtype":"PNG","key":"2cefe3a9c7","dspurl":"www.c-c.com","link":"http:\/\/www.c-c.com\/ctrl\/pic-38655398.html","source":1,"img":"http:\/\/img.c-c.com\/timg\/2012\/12\/21\/09\/reebokbitter0943360740.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t0151801f57c29195f0.png","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t0151801f57c29195f0.png","thumbWidth":320,"dsptime":"","thumbHeight":240,"grpcnt":"21","fixedSize":false},{"id":"76755ef3040b3e5b911befa4dfa987b8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":20,"title":"<em>\u519b\u5927\u8863\u4f9b\u5e94\u4fe1\u606f <em>\u519b\u5927\u8863\u8d38\u6613\u4fe1\u606f - \u4e2d\u534e\u7eba\u7ec7\u7f51","litetitle":"","width":"400","height":"542","imgsize":"71KB","imgtype":"JPEG","key":"72fc62f96f","dspurl":"www.texindex.com.c...","link":"http:\/\/www.texindex.com.cn\/Trade\/Detail_11_914380.html","source":2,"img":"http:\/\/www.texindex.com.cn\/Upload\/201010\/21\/2010102193633718.jpg","thumb":"http:\/\/p4.so.qhimg.com\/t017abd8576049d0c39.jpg","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t017abd8576049d0c39.jpg","thumbWidth":177,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"39b94b6fede3c8f9607b2bed0a9fc6cf","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":21,"title":"\u5218\u5fb7\u534e<em>\u519b\u5927\u8863\u4eae\u76f8\u7ea2\u6bef \u76d8\u70b9\u660e\u661f\u7a7f<em>\u519b\u5927\u8863\u8c01\u6700","litetitle":"","width":"270","height":"410","imgsize":"24KB","imgtype":"JPEG","key":"2e36a9d03d","dspurl":"www.hinews.cn","link":"http:\/\/www.hinews.cn\/news\/system\/2013\/12\/10\/016287508.shtml","source":2,"img":"http:\/\/www.hinews.cn\/pic\/0\/15\/11\/93\/15119397_119838.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01c109f744f04d4c1b.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01c109f744f04d4c1b.jpg","thumbWidth":158,"dsptime":"","thumbHeight":240,"grpcnt":"14","fixedSize":false},{"id":"6c41b455b1ff5a003ee024a4d2d7855e","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":24,"title":"<em>\u519b\u5927\u8863_\u56fe\u7247_\u4e92\u52a8\u767e\u79d1","litetitle":"","width":"400","height":"346","imgsize":"42KB","imgtype":"JPEG","key":"a47cb6ee63","dspurl":"tupian.baike.com","link":"http:\/\/tupian.baike.com\/a4_27_31_01300000328622123246312965271_jpg.html","source":2,"img":"http:\/\/a4.att.hudong.com\/27\/31\/01300000328622123246312965271.jpg","thumb":"http:\/\/p3.so.qhimg.com\/t01fe3bfd3448fadc18.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01fe3bfd3448fadc18.jpg","thumbWidth":277,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"ce926655c0666d1c31b710d2b7f6019b","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":25,"title":"\u56fe\u6587:\u8dc6\u62f3\u9053\u9009\u624bT\u53f0\u8d70\u79c0 \u7a7f<em>\u519b\u5927\u8863\u884c\u519b\u793c-\u641c\u72d0","litetitle":"","width":"500","height":"782","imgsize":"122KB","imgtype":"JPEG","key":"bd59a74711","dspurl":"sports.sohu.com","link":"http:\/\/sports.sohu.com\/20080314\/n255717545.shtml","source":2,"img":"http:\/\/photocdn.sohu.com\/20080314\/Img255717546.JPG","thumb":"http:\/\/p3.so.qhimg.com\/t01664b43d30f4c690d.jpg","_thumb":"http:\/\/p3.so.qhimg.com\/sdr\/_240_\/t01664b43d30f4c690d.jpg","thumbWidth":153,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"4ce71267dee655ddc99d7a15afabd31b","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":26,"title":"<em>\u519b\u5927\u8863","litetitle":"","width":"500","height":"500","imgsize":"97KB","imgtype":"JPEG","key":"f1c8dcbd7b","dspurl":"wuxingtrade.b2b.hc...","link":"http:\/\/wuxingtrade.b2b.hc360.com\/supply\/146591599.html","source":2,"img":"http:\/\/img26.hc360.cn\/26\/busin\/118\/866\/b\/26-118866776.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01f426c09aac272c01.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01f426c09aac272c01.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"086b1ed4269bab8798afc440b5db745d","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":29,"title":"\u5218\u5fb7\u534e\u7a7f<em>\u519b\u5927\u8863\u6df7\u642d\u4eae\u778e\u773c \u6c88\u9633\u53c2\u52a0\u300a\u98ce\u66b4\u300b","litetitle":"","width":"538","height":"563","imgsize":"84KB","imgtype":"JPEG","key":"8a41bc6cf4","dspurl":"www.fj.xinhuanet.c...","link":"http:\/\/www.fj.xinhuanet.com\/news\/2013-12\/09\/c_118483265_8.htm","source":2,"img":"http:\/\/www.fj.xinhuanet.com\/news\/2013-12\/09\/118483265_91n.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t019d81e4f9fbe7689b.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t019d81e4f9fbe7689b.jpg","thumbWidth":229,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"63dfcfe2e50ed0f461c07f51dbbd9868","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":30,"title":"\u5f88\u62c9\u98ce\u7684<em>\u519b\u5927\u8863_\u7cbe\u5f69\u8d34\u56fe_\u90b9\u57ce\u8bba\u575b_\u90b9\u57ce\u5728\u7ebf","litetitle":"","width":"519","height":"547","imgsize":"34KB","imgtype":"JPEG","key":"9935fb1c5d","dspurl":"www.zoucheng.cc","link":"http:\/\/www.zoucheng.cc\/forum\/thread-1148664-view-0-back-0-1-1.html","source":2,"img":"http:\/\/www.photo.ccoo.cn\/bbs\/2009112\/200911222241353.jpg","thumb":"http:\/\/p2.so.qhimg.com\/t01364cad64fb12c797.jpg","_thumb":"http:\/\/p2.so.qhimg.com\/sdr\/_240_\/t01364cad64fb12c797.jpg","thumbWidth":228,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"2fd0d59b378aad8efdfe4b7f0df6a4f8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":31,"title":"<em>\u519b\u5927\u8863\u7537\u58eb\u6743\u5a01\u6392\u884c\u699c,<em>\u519b\u5927\u8863\u7537\u58eb\u6b63\u54c1\u6298\u6263,\u519b","litetitle":"","width":"800","height":"800","imgsize":"418KB","imgtype":"GIF","key":"e76e6d8d52","dspurl":"www.42hc.com","link":"http:\/\/www.42hc.com\/mctjghei\/","source":2,"img":"http:\/\/image.taobao.com\/bao\/uploaded\/i4\/11752029507529994\/T11W6VFlFfXXXXXXXX_!!1-item_pic.gif","thumb":"http:\/\/p4.so.qhimg.com\/t01bfc5c6422fe47b49.gif","_thumb":"http:\/\/p4.so.qhimg.com\/sdr\/_240_\/t01bfc5c6422fe47b49.gif","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"6d1a93c83ae264dc703f4ca1f12ed0a1","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":32,"title":"<em>\u519b\u5927\u8863_\u5fd7\u8da3\u7f51","litetitle":"","width":"340","height":"417","imgsize":"20KB","imgtype":"JPEG","key":"b27d2355a1","dspurl":"www.bestb2b.com","link":"http:\/\/www.bestb2b.com\/prod_6950427.htm","source":2,"img":"http:\/\/image2.bestb2b.com\/upload\/pic\/2013\/011\/28\/116\/820866\/136203768525948.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t017f74f06f37c35b5a.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t017f74f06f37c35b5a.jpg","thumbWidth":196,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"e5d6ba8b50ac6be0077e47cee137e7d4","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":33,"title":"\u5317\u4eac\u7eaf\u68c9\u82b1<em>\u519b\u5927\u8863\u6279\u53d1\u5382\u5bb6 13699182231 - qi","litetitle":"","width":"640","height":"527","imgsize":"140KB","imgtype":"JPEG","key":"bc1d14689b","dspurl":"www.yupoo.com","link":"http:\/\/www.yupoo.com\/photos\/qijiaxinxin\/87336677\/","source":2,"img":"http:\/\/photo.yupoo.com\/qijiaxinxin\/CsK8kZO0\/medish.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t014a84e1eac6428086.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t014a84e1eac6428086.jpg","thumbWidth":291,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"b767a3ac1b600287c1347cb97cb72d6f","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":36,"title":"07<em>\u519b\u5927\u8863 \u6b63\u54c1 \u6700\u65b0\u6392\u884c\u699c\u524d10\u540d_\u7528\u623736279","litetitle":"","width":"600","height":"800","imgsize":"65KB","imgtype":"JPEG","key":"37d3dbbc77","dspurl":"blog.sina.com.cn","link":"http:\/\/blog.sina.com.cn\/s\/blog_d83ea0020101gn8q.html","source":2,"img":"http:\/\/img04.taobaocdn.com\/bao\/uploaded\/i4\/i4\/10053028407700133\/T18QMsXoddXXXXXXXX_!!0-item_pic.jpg","thumb":"http:\/\/p2.so.qhimg.com\/t014511fa5771704577.jpg","_thumb":"http:\/\/p2.so.qhimg.com\/sdr\/_240_\/t014511fa5771704577.jpg","thumbWidth":180,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"adb9e64381b3e292142ba9a4a5881fb8","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":37,"title":"PandaTown 8\u540b 20\u5398\u7c73 \u718a\u732b\u7528 \u6000\u65e7\u5c0f<em>\u519b\u5927\u8863\u5957","litetitle":"","width":"700","height":"700","imgsize":"88KB","imgtype":"JPEG","key":"0343167595","dspurl":"www.360buy.com","link":"http:\/\/www.360buy.com\/bigimage.aspx?id=1000056746","source":2,"img":"http:\/\/img10.360buyimg.com\/n0\/6579\/27f7e926-ddd4-4b22-a9a7-7434810af228.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t01e7b4febc1d0501b1.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t01e7b4febc1d0501b1.jpg","thumbWidth":240,"dsptime":"","thumbHeight":240,"grpcnt":"2","fixedSize":false},{"id":"8cfe4151f43fcb5757a6d83eb80246fc","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":38,"title":"\u56fe\u6587:\u5218\u5fb7\u534e\u6cc9\u5dde\u6f14\u5531\u4f1a-\u62ab<em>\u519b\u5927\u8863\u5fa1\u5bd2_\u5f71\u97f3\u5a31","litetitle":"","width":"330","height":"550","imgsize":"36KB","imgtype":"JPEG","key":"e8d22f5c58","dspurl":"ent.sina.com.cn","link":"http:\/\/ent.sina.com.cn\/y\/p\/2011-06-02\/12043324259.shtml","source":2,"img":"http:\/\/i2.sinaimg.cn\/ent\/y\/p\/2011-06-02\/U5956P28T3D3324259F346DT20110602120420.jpg","thumb":"http:\/\/p1.so.qhimg.com\/t0128629c9db9b41226.jpg","_thumb":"http:\/\/p1.so.qhimg.com\/sdr\/_240_\/t0128629c9db9b41226.jpg","thumbWidth":144,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false},{"id":"9a36d643ebc33d729ada103564ff1c79","qqface_down_url":false,"downurl":false,"grpmd5":false,"type":0,"index":39,"title":"\u7ec4\u56fe:\u4f17\u661f <em>\u519b\u5927\u8863 PK \u5218\u5fb7\u534e\u65f6\u9ae6 \u7530\u4eae\u571f\u6c14 _\u4eac","litetitle":"","width":"500","height":"287","imgsize":"62KB","imgtype":"JPEG","key":"35b681a0ec","dspurl":"happy.jinghua.cn","link":"http:\/\/happy.jinghua.cn\/yule\/stars\/2013\/1212\/23803_2.shtml","source":2,"img":"http:\/\/pic.nen.com.cn\/0\/11\/86\/77\/11867782_488144.jpg","thumb":"http:\/\/p0.so.qhimg.com\/t01f40f45f8fb393b80.jpg","_thumb":"http:\/\/p0.so.qhimg.com\/sdr\/_240_\/t01f40f45f8fb393b80.jpg","thumbWidth":418,"dsptime":"","thumbHeight":240,"grpcnt":"1","fixedSize":false}],"boxresult":null,"wordguess":null}
</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></code>
로그인 후 복사
로그인 후 복사

怎么用正则把中间的[]截取出来。现在这样没办法用json_decode,求帮忙。

不能用 json_decode ?! 书少勿骗:http://3v4l.org/pigFV

不关心能否json_decode,只给出正则

<code>/\[([^\]]+)\]/
</code>
로그인 후 복사

取第一个组即可

不知道具体应用场景。提供以下两种方式:
1.可以直接用json_decode(),转换为数组,直接提取需要的信息,更简单、方便。
可参考:http://php.net/manual/zh/function.json-decode.php
2.如果只提取[]之间的部分,匹配模式:'/[(.*?)]/is'; 然后再json_decode.其事,第一种方式,就可以了

관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿