Move digits from beginning to end

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Move digits from beginning to end

Postby Rog(RJ) » Mon Apr 01, 2019 9:58 am

I have a large number of photos that have been saved with a variable number of digits at the start of the file names. I need to move the digits from the start of the filename to the end for cataloguing

Examples

From 123Carbon_Dioxide.jpg to Carbon_Dioxide123.jpg
From 34871Sodium_Carbonate.jpg to Sodium_Carbonate34871.jpg
From 4186Carbon_Dioxide.jpg to Carbon_Dioxid4186.jpg

Is there a simple way of doing this, please?
Rog(RJ)
 
Posts: 2
Joined: Mon Apr 01, 2019 9:32 am

Re: Move digits from beginning to end

Postby therube » Mon Apr 01, 2019 12:24 pm

Try...

1:RegEx
Code: Select all
Match:  ^(\d+)(.*)
Replace:  \2\1
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Move digits from beginning to end

Postby Rog(RJ) » Mon Apr 01, 2019 8:43 pm

Excellent. Thanks very much
Rog(RJ)
 
Posts: 2
Joined: Mon Apr 01, 2019 9:32 am


Return to BRU Support


cron