<?php $string = " title-one author-two date-three "; echo preg_replace('/^author-.*$/si', '', $string);
You have javascript disabled. You will not be able to edit any code.