<?php $tests = [ 'Stack-Overflow Questions Tags Users', 'Stack Overflow Close Vote Reviewers', 'Jean-Claude Vandàmme' ]; var_export( preg_replace('/\w\K\w*\W*/u', '', $tests) );
You have javascript disabled. You will not be able to edit any code.