Skip to main content
Known Participant
May 17, 2021 8:51 PM UTC
Answered

Batch Renaming Filename with Regex

Hello together,

i don't get a solution for my renaming

My Title

 

Atlanta Webshop 2020 ; Atlanta Webhop 2020

 

I want the following new filename

Atlanta Webshop

 

I try the following code for regex in batch renaming, but it doesn't work

 

[;].*

 

Can you help me, thanks.

 

Jörn

This topic is closed to new replies. Start a new post to keep the conversation going.
gregreser
gregreserCorrect answer
Legend
May 17, 2021 11:05 PM UTC

This will remove the second name and year

 ;.*

 

This will remove the first year also

\d{4} ;.*

 

Is this what you were hoping for?

 

 

 

3 replies

gregreser
gregreserCorrect answer
Legend
May 17, 2021 11:05 PM UTC

This will remove the second name and year

 ;.*

 

This will remove the first year also

\d{4} ;.*

 

Is this what you were hoping for?

 

 

 

Translate
Jörn5F90Author
Known Participant
May 18, 2021 7:36 PM UTC

Thank you it works perfectly

Translate
Jörn5F90Author
Known Participant
May 18, 2021 8:06 PM UTC

Is there any possibility to make script of this settings?

Translate