IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Eliminate one set of parentheses and keep one
genghiskhan
post Jun 8 2012, 15:12
Post #1


Member


Group: Full Members
Posts: 6
Joined: 10-October 09
Member No.: 11070
Mp3tag Version: 2.44



Hi I have some files named like this

Blown Away (Feat. Styles P) (Produced By Giorgio Tuinfort).mp3

I would like to delete the second parentheses and all the information it contains.
But at the same time some files are like this.

I Can't Wait (Produced By Akon).mp3

In which case I want to delete all.

I know that I can fix the second example with:
Regular expression
\(.+?\)

But the directory contains both types of names.
Go to the top of the page
 
+Quote Post
genghiskhan
post Jun 9 2012, 02:12
Post #2


Member


Group: Full Members
Posts: 6
Joined: 10-October 09
Member No.: 11070
Mp3tag Version: 2.44



Ok I found this

http://forums.mp3tag.de/index.php?showtopic=15728

In particular this post
http://forums.mp3tag.de/index.php?s=&s...ost&p=64260

With that I get close but i want the (Feat.) to remain in the title and not be moved over to the artist.
Go to the top of the page
 
+Quote Post
dano
post Jun 9 2012, 10:58
Post #3


Moderator


Group: Moderators
Posts: 5503
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.55a



" \([^)]+\)\.mp3$"

will only remove the last pair of parentheses.



--------------------
Go to the top of the page
 
+Quote Post
genghiskhan
post Jun 10 2012, 02:19
Post #4


Member


Group: Full Members
Posts: 6
Joined: 10-October 09
Member No.: 11070
Mp3tag Version: 2.44



QUOTE (dano @ Jun 9 2012, 10:58) *
" \([^)]+\)\.mp3$"

will only remove the last pair of parentheses.


Thank You. I set it as Replace with regular expression and it kept erasing the .mp3 from the file name and therefore rendered them as extension-less files but I got around it adding a step to add .mp3 to the title. Thank you
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 05:27