Page 1 of 1

Remove Text in Parentheses

PostPosted: Tue Jun 06, 2023 4:20 pm
by rjharle
I have searched the forum and the BRU manual and cannot seem to find what I'm looking for, and I apologize if I missed it. My problem is I have a number of files that contain text in Parentheses that interferes with the music program trying to show the song's lyrics. So this is what I'm looking for:

Artist - Title (Text).M4a or Artist - (Text) Title,M4a to just Artist - Title.M4a .......... (the (text) could be on either side of the title)

I need to remove the (Text) from every file. I do realize that the music program uses information in the songs "Tag" my plan is to clear the tags and the (text) then re-index the files which will put the cleared Artist and Tile into the tag without the (text).

I would appreciate any help with this matter. Thank You

Re: Remove Text in Parentheses

PostPosted: Tue Jun 06, 2023 5:06 pm
by therube
5:Remove, Crop -> Special: (*)

That will remove the (first) instance of a set of parenthesis & the text enclosed within those parenthesis.
Code: Select all
Alexandre Tansman Symphony No. 7 (1944) Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg
->   Alexandre Tansman Symphony No. 7  Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg

Note that (1994) is removed, but (152kbit_Opus) is retained.


(Test & make sure you're getting the results you're expecting.)

Re: Remove Text in Parentheses

PostPosted: Fri Jun 23, 2023 1:13 pm
by rjharle
therube wrote:5:Remove, Crop -> Special: (*)

That will remove the (first) instance of a set of parenthesis & the text enclosed within those parenthesis.
Code: Select all
Alexandre Tansman Symphony No. 7 (1944) Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg
->   Alexandre Tansman Symphony No. 7  Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg

Note that (1994) is removed, but (152kbit_Opus) is retained.


(Test & make sure you're getting the results you're expecting.)


Thank You - It worked fine.

Re: Remove Text in Parentheses

PostPosted: Fri Jul 07, 2023 7:30 am
by dec
therube wrote:5:Remove, Crop -> Special: (*)

That will remove the (first) instance of a set of parenthesis & the text enclosed within those parenthesis.
Code: Select all
Alexandre Tansman Symphony No. 7 (1944) Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg
->   Alexandre Tansman Symphony No. 7  Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg

Note that (1994) is removed, but (152kbit_Opus) is retained.


(Test & make sure you're getting the results you're expecting.)


and presumably you could run re-iteratively and remove all ()

i must check what 'Special' can be used for ... prob some things that i could have used before, like that example