1 Modifiers: It seems not mentioned
2 There seems to be a few matching patterns
For example, $cp = preg_replace( "@@
Non-greedy mode, which means matching the first < after @
Sometimes [^>]+? is needed to get an exact match.
http://www.bkjia.com/PHPjc/313762.html
www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313762.htmlTechArticle1 Modifier: It seems that it is not mentioned. 2 The matching mode seems to be a little lacking. For example?php $cp=preg_replace(" @script(.*?)/script@is","",$cp); $cp=preg_replace("@iframe(.*?)/iframe@is","",$cp); $cp=preg_ ...
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