change in years

Bulk Rename Utility How-To's

change in years

Postby abedooo » Fri Jul 09, 2021 12:08 am

Hello guys,

i've some alot of files named ****** 2018.mp4, ****** 2019.mp4,****** 1975.mp4, ****** 1990.mp4 etc.

i want to make 2018 is (2018)
and any year include ()
abedooo
 
Posts: 10
Joined: Mon Apr 01, 2019 3:29 pm

"Name yyyy.mp4" ==> "Name (yyyy).mp4"

Postby Luuk » Fri Jul 09, 2021 7:34 am

First inside Filters(12) to put a 'Mask' like... *.mp4
Then inside RegEx(1) to put a Match and Replace like...
(.+ )(19\d\d|20\d\d)$
\1(\2)

Move 'space' outside of the parenthesis, if not wanting a 'space' before (yyyy) in the new names.
Luuk
 
Posts: 318
Joined: Fri Feb 21, 2020 10:58 pm

Re: change in years

Postby abedooo » Fri Jul 09, 2021 1:51 pm

wow its work

i want to learn this code how its mean

really thank you
abedooo
 
Posts: 10
Joined: Mon Apr 01, 2019 3:29 pm

Re: change in years

Postby Admin » Sat Jul 10, 2021 1:58 am

More info here:

viewtopic.php?f=3&t=96
Admin
Site Admin
 
Posts: 2058
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To


cron