<?php echo preg_replace('/{(.+)}/', '<span id="\\1"></span>', 'Qwe {test}, {testie}, {not valid}');
You have javascript disabled. You will not be able to edit any code.