禄林网络 发表于 2010-12-13 00:06:49

问个简单正则表达

如:http://taoke.alimama.com/spreader/gen_auction_code.htm?auction_id=7714292918


替换网页:http://item.taobao.com/item.htm?id=7714292918


在同时采集多个页面里的。

afanfan2007 发表于 2010-12-19 20:50:10

本帖最后由 afanfan2007 于 2010-12-19 23:29 编辑

回复 1# 禄林网络

正则匹配内容 可以这么写 开始唯一字符 http://taoke.alimama.com/spreader/gen_auction_code.htm?auction_id=[参数]任意结束字符组合结果 开始唯一字符 http://item.taobao.com/item.htm?id=[参数1]任意结束字符
页: [1]
查看完整版本: 问个简单正则表达