This is an OS X Automator workflow that copies selected files to a given location and removes a given pattern (based on a PHP regex) found in the filename.