<?php $str = 'attachment;filename=unnamed.jpg;filename*=UTF-8\'\'unnamed.jpg\''; preg_match('/^.*?filename=(["\'])?([^"\']+)\1?(?:;|$)/m', $str, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.