<?php echo preg_replace('/#-plugin-(\w+)(-(.+))*-#/', 'TEST $3', 'Text #-plugin-MyPlugin-id=1-#');
You have javascript disabled. You will not be able to edit any code.