来一发正则表达式,匹配一个地址
跪求 HelpUrl、TargetUrl的正则表达式
@HelpUrl
http://www.amazon.cn/%E6%98%BE%E7%A4%BA%E5%99%A8/b/ref=sa_menu_office_l3_b888468051?ie=UTF8&node=888468051
http://www.amazon.cn/b/ref=sa_menu_kitche_l3_b831983051?ie=UTF8&node=831983051
http://www.amazon.cn/%E5%AE%B6%E5%B1%85%E7%94%A8%E5%93%81/b/ref=sa_menu_top_home_l1?ie=UTF8&node=831780051
http://www.amazon.cn/s/ref=sa_menu_digita_l3_sset_remote_ch?ie=UTF8&page=1&rh=n%3A244671071
@TargetUrl
http://www.amazon.cn/Dell-%E6%88%B4%E5%B0%94-S2240T-21-5%E8%8B%B1%E5%AF%B8%E8%A7%A6%E6%91%B8%E6%98%BE%E7%A4%BA%E5%99%A8/dp/B00F84XJL0/ref=lp_888468051_1_23?s=pc-components&ie=UTF8&qid=1407380446&sr=1-23
http://www.amazon.cn/Dell-%E6%88%B4%E5%B0%94-S2240T-21-5%E8%8B%B1%E5%AF%B8%E8%A7%A6%E6%91%B8%E6%98%BE%E7%A4%BA%E5%99%A8/dp/B00F84XJL0/ref=lp_888468051_1_23?s=pc-components&ie=UTF8&qid=1407380446&sr=1-23
http://www.amazon.cn/%E7%A9%BA%E9%97%B4%E5%A4%A7%E5%B8%88%E4%B8%89%E5%A1%91%E8%83%B6%E9%97%A8%E6%A0%BC%E6%9F%9CBZ42118SDCH/dp/B004Q7E9F0/ref=sr_1_1?s=home-garden&ie=UTF8&qid=1407380492&sr=1-1
http://www.amazon.cn/Leooge%E9%9A%86%E6%AD%8C-i50000-%E5%85%85%E7%94%B5%E5%AE%9D20000%E6%AF%AB%E5%AE%89-%E5%A4%A7%E5%AE%B9%E9%87%8F%E7%A7%BB%E5%8A%A8%E7%94%B5%E6%BA%90-%E5%B8%A6LED%E7%81%AF-%E5%A4%9A%E5%8A%9F%E8%83%BD-3%E4%B8%AAUSB%E8%BE%93%E5%87%BA%E5%AD%94-%E5%8F%AF%E5%90%8C%E6%97%B6%E7%BB%993%E5%8F%B0%E8%AE%BE%E5%A4%87%E5%85%85%E7%94%B5-%E9%80%82%E7%94%A8%E6%89%80%E6%9C%89USB%E8%AE%BE%E5%A4%87-%E9%80%9A%E7%94%A8%E6%89%8B%E6%9C%BA%E5%86%B2%E7%94%B5%E5%AE%9D%E3%80%80/dp/B00JV2AHB0/ref=sr_1_5?s=wireless&ie=UTF8&qid=1407380515&sr=1-5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
一个是ref一个是qid=,大概是这样子?
http://www.amazon.cn/*/ref=*
http://www.amazon.cn/*gid=*\d+
PS: HelpUrl和TargetUrl中用到的不是标准正则,请注意。
你关注了
webmagic 软件吧? 可以在个人空间管理关闭提醒
还真是~
@红薯 为啥会给我发邮件?~