Ways to do similar things from the Rename dialog, without scripting or anything complex, are shown here: