Home  >  Article  >  Backend Development  >  复杂的正则表达式的问题

复杂的正则表达式的问题

WBOY
WBOYOriginal
2016-06-23 13:54:23922browse


如上图,我想要图片中两个红框的数据,最好能弄成对应的数组,求正则表达式的写法。


回复讨论(解决方案)

求大神,等待大神

除了截图,请给出代码,好复制过来做测试。

preg_match_all('/=(\d+)\D*>.+"center">(.+)', $s, $m);

preg_match_all('/=(\d+)\D*>.+"center">(.+)', $s, $m);


不好意思没有看到您的帖子就匆匆结贴了,下次我给您多点分 可好啊
Statement:
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