# How to remove bracket information from title when writing folder name?

**URL:** https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165
**Category:** Mac
**Created:** [August 9, 2022, 9:58am UTC](https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165 "2022-08-09T09:58:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![opusdeath](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/f6c823/32.png) [@opusdeath](https://community.mp3tag.de/u/opusdeath)
#### Post date: [August 9, 2022, 9:58am UTC](https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165/1 "2022-08-09T09:58:39Z")

</div>

Hi,

I have tracks that are tagged:

Artist A - Dance Track (Original Mix)  
Artist A - Dance Track (Disco Mix)

To sort them I know I can set %artist%/%title/ but this will give a folder to the original mix and a folder the disco mix.

I'd like to achieve a folder structure of Artist A/Dance Track/ and see both both the (Original Mix) and (Dance Mix) in that folder.

Is there a way of removing the brackets only when writing the folder path and maintaining them in the filename and metadata?

Thanks for any help offered.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 9, 2022, 10:03am UTC](https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165/2 "2022-08-09T10:03:42Z")

</div>

> [@opusdeath](#):
>
> Artist A - Dance Track (Original Mix)

Mac or Windows?  
Try this expression instead of %title%  
`$regexp(%title%,'(.*) \(.*',$1)`

---

<div class="post-metadata">

### Author: ![opusdeath](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/f6c823/32.png) [@opusdeath](https://community.mp3tag.de/u/opusdeath)
#### Post date: [August 9, 2022, 11:04am UTC](https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165/3 "2022-08-09T11:04:17Z")

</div>

That's exactly what I needed. I'm on Mac and it worked a treat. Thanks so much.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [September 8, 2022, 11:04am UTC](https://community.mp3tag.de/t/how-to-remove-bracket-information-from-title-when-writing-folder-name/58165/4 "2022-09-08T11:04:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
