<?php $s = 'hello [vimeo] how are you doing'; $replacement = preg_match('#\[(.*?)\]#', $s, $matches); print_r($matches); print_r($s);
You have javascript disabled. You will not be able to edit any code.