#1 2019-09-01 16:24

focalfox
Member
Registered: 2019-09-01
Posts: 3

move various number from end to the beginning

hello, i need a little help.

i have filenames like this

[insta-zoom] 2019-08-24_TinandSimona_Gamescom2019-102.jpg
[HighRes] 2019-08-24_TinandSimona_Gamescom2019-009.jpg
[facebook] 2019-08-24_TinandSimona_Gamescom2019-102.jpg

I want to move the last number to the start like


102 - [insta-zoom] 2019-08-24_TinandSimona_Gamescom2019.jpg
009 - [HighRes] 2019-08-24_TinandSimona_Gamescom2019.jpg
102 - [facebook] 2019-08-24_TinandSimona_Gamescom2019.jpg

I have no idea how to do smile

Greetings

Nicole

Offline

#2 2019-09-01 16:34

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,367

Re: move various number from end to the beginning

Try the following Regular Expressions rule:

> Replace expression "\A(.*)-(\d+)\Z" with "$2 - $1" (skip extension)

Offline

#3 2019-09-01 17:59

focalfox
Member
Registered: 2019-09-01
Posts: 3

Re: move various number from end to the beginning

Okay,

first thank you for your quick reply.
I tried it but nothing happend. Maybe i do something wrong ?

[img=example]www.den4b.com/forum/img/members/4429/2019-09-01-18_56_43-ReNamer-Pro.png[/img]

Greetings

Nicole

Offline

#4 2019-09-01 18:49

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: move various number from end to the beginning

focalfox wrote:

...
I tried it but nothing happend. ...

den4b wrote:

Try the following Regular Expressions rule:


>>>"Regular Expressions rule":
http://www.den4b.com/wiki/ReNamer:Rules:RegEx






 


 


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#5 2019-09-01 19:14

focalfox
Member
Registered: 2019-09-01
Posts: 3

Re: move various number from end to the beginning

Okay my fault !

Now it works like a charm.
Thank you so much !

Greetings Nicole

Offline

Board footer

Powered by FluxBB