1
0
876
//刪除一對(duì)中括號(hào)內(nèi)的內(nèi)容: $str = 'abc[url]123[/url]xyz'; $pattern = '/\[url\S*\[\/u...