php - 如何获取字符串中的内容?
$str = "你好,欢迎使用[args1].我们会马上给你发货,地址:[args2]"; 如何获取[args1]和[args2];是不是一般都的正则进行匹配? 正则水平有点烂,/^(\[)*(\])$/ 匹配有问题呢? 请指教!
ringa_lee 2017-04-10 15:35:36 0 1 311