摘要:
如果要从一段字符串的中间某个位置开始匹配后面所有的内容,正则写法例如URL中匹配?号后面所有的内容<?php$a = 'case-list.html?type=10';$b = preg_replace("/\?([^\?]+)/","",$a);preg_match_all("/\?[^\?]+/",$a,$matches);print_r($matches); 阅读全文
posted @ 2012-12-17 17:12
aluode
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号