Skip to main content
Known Participant
May 17, 2021
Answered

Batch Renaming Filename with Regex

  • May 17, 2021
  • 1 reply
  • 446 views

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 has been closed for replies.
Correct answer gregreser

This will remove the second name and year

 ;.*

 

This will remove the first year also

\d{4} ;.*

 

Is this what you were hoping for?

 

1 reply

gregreser
gregreserCorrect answer
Legend
May 17, 2021

This will remove the second name and year

 ;.*

 

This will remove the first year also

\d{4} ;.*

 

Is this what you were hoping for?

 

Jörn5F90Author
Known Participant
May 18, 2021

Thank you it works perfectly

Jörn5F90Author
Known Participant
May 18, 2021

Is there any possibility to make script of this settings?