求一正则婚配的PHP代码
程序员文章站
2024-01-05 08:02:17
...
求一正则匹配的PHP代码
http://e.hiphotos.baidu.com/baike/s%3D220/sign=6c84b182baa1cd1101b675228913c8b0/a50f4bfbfbedab6497171872f736afc379311e1e.jpg
http://h.hiphotos.baidu.com/baike/s%3D220/sign=b3f3516701e9390152028a3c4bed54f9/d058ccbf6c81800ad6f26049b13533fa828b4766.jpg
http://g.hiphotos.baidu.com/baike/s%3D220/sign=f1457cf21f30e924cba49b337c096e66/f7246b600c3387441db54e86510fd9f9d62aa0dc.jpg
把红色部分匹配出来~~
------解决方案--------------------
http://e.hiphotos.baidu.com/baike/s%3D220/sign=6c84b182baa1cd1101b675228913c8b0/a50f4bfbfbedab6497171872f736afc379311e1e.jpg
http://h.hiphotos.baidu.com/baike/s%3D220/sign=b3f3516701e9390152028a3c4bed54f9/d058ccbf6c81800ad6f26049b13533fa828b4766.jpg
http://g.hiphotos.baidu.com/baike/s%3D220/sign=f1457cf21f30e924cba49b337c096e66/f7246b600c3387441db54e86510fd9f9d62aa0dc.jpg
把红色部分匹配出来~~
------解决方案--------------------
$str = '';
preg_match('/var_dump($match[1]);
?>
相关文章
相关视频