<br>1234<IMG SRC="74.swf"/>56 の 78<IMG SRC="68.swf"/><br><br>上記の文字列を <br>1234<br><IMG SRC="74.swf"/><br>56/78<br><IMG SRC="68.swf"/><br><br>そのような配列<br><br>------解決策---------<font color="#FF8000"></font><br><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush: php">$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]);</pre><div class="contentsignin">ログイン後にコピー</div></div> <div class="clear"></div>