In automator there's no direct way as far as I know, although you could string two "rename"modules together...
But you might also look into using the terminal. There's various ways of doing it, some decent examples here:
http://www.macosxhints.com/article.php?story=20010509130450691