Home  >  Article  >  Backend Development  >  求大侠帮忙解决方案

求大侠帮忙解决方案

WBOY
WBOYOriginal
2016-06-13 11:57:33877browse

求大侠帮忙
1234求大侠帮忙解决方案56的78求大侠帮忙解决方案

怎么把上面这个段字符串分割成

1234
求大侠帮忙解决方案
56的78
求大侠帮忙解决方案

这样的数组
------解决方案--------------------

$s='1234<IMG SRC="74.swf"/>56的78<IMG SRC="68.swf"/>';<br />preg_match_all('/([^<>]+<br><font color='#FF8000'>------解决方案--------------------</font><br><[^>]+>)/', $s, $m);<br />print_r($m[0]);

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