Home > Backend Development > PHP Tutorial > 求一个正则,有点难,高手进

求一个正则,有点难,高手进

WBOY
Release: 2016-06-23 14:17:19
Original
993 people have browsed it

网址:http://s.taobao.com/search?spm=a230r.1.0.92.1cx4fx&initiative_id=tbindexz_20130608&tab=all&q=%CA%D6%BB%FA&source=suggest&suggest=0_1&cd=false&v=auction&cat=1512

要求一个正则把里面的宝贝的"图片URL","宝贝名称","宝贝URL","宝贝价格","最近成交量","卖家昵称","评论数","卖家所在地",一共8个匹配出来


回复讨论(解决方案)

直接用字符串查找把  这个不太建议你用正则

直接用字符串查找把  这个不太建议你用正则
同意以上观点

直接用字符串查找把  这个不太建议你用正则

请给出方法

百度吧百度吧百度吧

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template