#1 2023-09-14 19:38

djneilsfla
Member
Registered: 2023-09-14
Posts: 1

Deleting the second parenthesized phrase

First, thank you in advance to whoever took the time.  I DID in fact try to find it in index but didn't see one specific to my question.  It's simple.  I would like to put batch of files into the renamer and remove information I don't need from song tags.  Example. 

Nicki Minaj - Super Freaky Girl (Roman Remix) (Dirty Extended Remix)

I want to get rid of the second parenthesized phrase.   (Dirty Extended Remix)

Ultimately, I would LIKE to be able to keep the first parenthesized phrase.  (Roman Remix)

Not sure how to accomplish that.  And thank you again for the assistance.  It is GREATLY appreciated

Offline

#2 2023-09-14 20:29

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,393

Re: Deleting the second parenthesized phrase

You'll need to use the Regular Expressions rule for this task.

Expression:

(\(.*\))(.*?)\s*\(.*?\)

Replace:

$1$2

This will remove the last parenthesized segment, when there are at least two parenthesized segments.

Offline

#3 2024-01-31 15:24

Lauraq
Member
Registered: 2016-10-02
Posts: 79

Re: Deleting the second parenthesized phrase

very useful, could you also tell us how to eliminate the first parenthesized segment and how to reverse the two parenthesized segment?

Thank you smile

Last edited by Lauraq (2024-01-31 15:26)

Offline

Board footer

Powered by FluxBB