1
xuwenhao May 24, 2011
/\[|\]/ 不可以么?
|
2
2014 OP |
3
reus May 24, 2011
json_decode() = =
|
5
webgeekman Aug 25, 2011
如果需要被替换的内容类似:[asdf[sdf][]sdfsdf[sdfasdfasfd]
那么xuwenhao 的方法 “/\[|\]/”完全可以啊。 楼主最好将需要替换的内容截取出一段,否则大家没法帮你。 |
6
Weakdancer Aug 25, 2011
$str = json_decode($str,true);
|