Tuesday, September 6, 2005, 8:11:54 PM, Patrick wrote: > if ($action=='new') > $_REQUEST['name'] = preg_replace('/^.*[\\/.]/', '', $_REQUEST['name']); Great. The magic of regex! Thanks so much! Best, ~Hans