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