Script Rename Parentheses

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Rolando
Posts: 26
Joined: 24 Nov 2022 19:22

Script Rename Parentheses

Post by Rolando »

Good evening

Is there an XYplorer script that can batch-rename selected files by removing everything inside parentheses, including the parentheses themselves and the space before them?

Examples:
Germany (DE) → Germany
France (1908) → France

Any help or script examples would be appreciated.

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script Rename Parentheses

Post by highend »

Menu - File - Rename Special - RegExp Rename... (or via the context menu on the selected items):
[ ]*\(.*?\) >
One of my scripts helped you out? Please donate via Paypal

Rolando
Posts: 26
Joined: 24 Nov 2022 19:22

Re: Script Rename Parentheses

Post by Rolando »

Thank you for your help, I really appreciate it.

Post Reply