7 Replies Latest reply: Mar 19, 2013 9:01 AM by Muppet Mark RSS

    Advanced Batch Rename using RegEx?

    tch_adobe

      Hi all,

       

      I've got hundreds of files to rename, they're all images of vehicles that have been named based on their reg, there are 8 images per vehicle denoted by the number 1-8 immediately after the reg nuber.

       

      What I need to do is insert a _ between the end of the reg, and the number at the end (1-8), I've had a look around to find a regular expression to try to do this in the string substitution option. But can't find one anywhere, and can't for the life of me figure it out myself because this is the first time I've ever seen regex etc.

       

      All I need to do is select the last character of each file name, any ideas. Example:

       

      Currently named:

       

      BX59AHB1

       

      Needs to be:

       

      BX59AHB_1

       

      All the registrations are different, and on the end of each is number either from 1 to 8. Any help would be greatly appreciated because it will takes hours to go through them one by one.

       

      Cheers.