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