<?php $str1 = 'The quick brown fox'; echo preg_replace('/\W\w+\s*(\W*)$/', '$1', $str1); ?>
You have javascript disabled. You will not be able to edit any code.