# Brackets HELP

**URL:** https://community.mp3tag.de/t/brackets-help/12867
**Category:** Support
**Created:** [December 26, 2011, 12:25pm UTC](https://community.mp3tag.de/t/brackets-help/12867 "2011-12-26T12:25:31Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [December 26, 2011, 1:44pm UTC](https://community.mp3tag.de/t/brackets-help/12867/3 "2011-12-26T13:44:11Z")

</div>

> [@Juice25](#):
>
> ... I want to create an action that will define, if title tag has two pairs of round brackets "()", the second pair should be replaced with square ones "" ...

Action: Format value  
Field: TITLE  
Formatstring: `$regexp(%TITLE%,'^([^(]+?)\s\(([^(]+?)\)\s\(([^(]+?)\)$','$1 ($2) [$3]')`

From:  
AAA (BBB) (CCC)  
To:  
AAA (BBB) [CCC]

Filter:  
TITLE MATCHES `"^([^(]+?)\s\(([^(]+?)\)\s\(([^(]+?)\)$`

Other approach:

Begin Action Group **Test\_2011#20111226.Test.Round.Square.Brackets** 

Action #1  
_Actiontype 7:_ **Import tag fields (guess values)**  
_Source format \_\_:_ **%TITLE%**  
_Guessing pattern:_ **%TEMP1%÷(%TEMP2%)÷(%TEMP3%)**

 

Action #2  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **TITLE**  
_Formatstring:_ **%TEMP1%'÷('%TEMP2%')÷['%TEMP3%']'**

 

Action #3  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **TEMP1;TEMP2;TEMP3**

 

_Note: Replace each special ÷ character with one space character._  
End Action Group **Test\_2011#20111226.Test.Round.Square.Brackets** (3 Actions)

 

DD.20111226.1600.CET

---

_[View the full topic](https://community.mp3tag.de/t/brackets-help/12867)._
