Page 1 of 1

change in years

PostPosted: Fri Jul 09, 2021 12:08 am
by abedooo
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 ()

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

PostPosted: Fri Jul 09, 2021 7:34 am
by Luuk
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.

Re: change in years

PostPosted: Fri Jul 09, 2021 1:51 pm
by abedooo
wow its work

i want to learn this code how its mean

really thank you

Re: change in years

PostPosted: Sat Jul 10, 2021 1:58 am
by Admin
More info here:

viewtopic.php?f=3&t=96