Problem to rename files.

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
rh_1363
Posts: 1
Joined: 22 Jun 2021 07:53

Problem to rename files.

Post by rh_1363 »

Hi
My name is Reza.
I’ve used your software for rename my files.
Today I face a problem to rename my files. I’ve tried lots of method, but it hasn’t worked.
Please help me to find the solution.
I have lots of file downloaded from youtube and all of them have special suffix at the end (some trivial code). I want to remove these trivial codes at the end of my files.
For example this file has this name:
God_Delusion_by_Richard_Dawkins_[C85pvi87WK8]_[tag18].mp4
And I want to remove this: _[C85pvi87WK8]_[tag18]
I know the pattern is: _[???????????]_[?????]
But I couldn’t find a correct method to remove this irritating suffix.
In addition you can see the screenshot of my files in attachment.
I need your help to solve my problem.
Thanks a lot.
Attachments
Rename.jpg
Rename.jpg (64.12 KiB) Viewed 264 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Problem to rename files.

Post by highend »

You should use RegExp Rename...

E.g.:
^(.+?)(?:(_\[.+?\]){2})(\.[^.]+)$ > $1$3
One of my scripts helped you out? Please donate via Paypal

Post Reply