Help with rename (again!)

I've just returned from holiday with three friends and was nominated to make a DVD of all the pictures (JPEG). I've got the photos from each and renumbered them in their own folders from 0001 onwards. I'd like to prefix each photo with the name of the person who took the snap eg. Andy 0001, Andy 0002 etc. and do the same with each person. I know I could do it manually, but as there are well over 100 snaps, it'd take forever. Any help will be appreciated.

If folders created is each person then I think this should work:

Rename Pattern "(.*)" TO "{parent} \1" REGEXP FILEINFO

Here's how to do it using the Rename dialog, starting with the folders selected: