<?php $string = '{ABC!@#5[XYZ:5]jkfjk[fkjkj]}'; preg_match_all('/\[.*?\]/', $string, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.