<?php $a = 'hello, [h[o]w]. please don\'t remove [are] you?'; echo preg_replace("/\[[^\]*]\]/", ' ', $a);
You have javascript disabled. You will not be able to edit any code.