<?php echo preg_replace('/([a-z]+)(?:-|$)/', 'this-is-a-string', '$F1');
You have javascript disabled. You will not be able to edit any code.