<?php $str = "Dit is een [test] string"; preg_match_all('/\[(.*?)\]/', $str, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.