\[(.*)\]|isU", $_GET['id']."-$1.html">$2", $value );"/> \[(.*)\]|isU", $_GET['id']."-$1.html">$2", $value );">
Rumah >pembangunan bahagian belakang >tutorial php > 求解一个正则表达式解决方法
求解一个正则表达式
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->echo preg_replace( "|/browse/.*\\?lm=0&word=&pn=(.*)\">\\[(.*)\\]|isU", $_GET['id']."-\$1.html\">\$2", $value );