一个正则表达式的有关问题。有点不理解了

WBOY
Release: 2016-06-13 12:38:37
Original
779 people have browsed it

一个正则表达式的问题。有点不理解了

<?php<br />
$a='<span class="ico-block"><a href="#"><img  src="http://www.oxford-royale.co.uk/2013/wp-content/themes/ora/images/ico19.png" / alt=" 一个正则表达式的有关问题。有点不理解了 " ></a></span><h2>';<br />
$a=preg_replace("/<[^>]+?>/","\\0\\2\\4\\5",$a);<br />
var_dump($a);<br />
?>
Copy after login


这个好像错了,请问错在哪里了?有点不明白了

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!