# After the dashes into parentheses

**URL:** https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256
**Category:** Support
**Created:** [December 30, 2023, 4:17pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256 "2023-12-30T16:17:01Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:17pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/1 "2023-12-30T16:17:01Z")

</div>

is there a way to put everything after the "-" into parenthese

example :

This Is Your Night - Berman S House Mix  
renamed to  
This Is Your Night (Berman S House Mix)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 30, 2023, 4:41pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/2 "2023-12-30T16:41:34Z")

</div>

You don't tell us, if this is the content of your TITLE tag or filename something else.

However, a simple approach could be to replace the `- ` (dash space) with an opening brace like this:  
`$replace(%TITLE%,- ,'(')`  
and in a second step you add a closing brace at the end of your tag, for example  
`%TITLE%)`  
You can do this in Convert Tag-\>Tag (with a preview of the result) or in an Action like "Format Value".

Please be aware that this only works if you have only one `-` (dash space) in your tag.  
This will not work for examples with mutliple `-` (dash space) like:  
`This Is Your Night - Berman S House Mix - expanded version`

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:42pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/3 "2023-12-30T16:42:50Z")

</div>

yes, it's for the title, sorry

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:46pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/4 "2023-12-30T16:46:04Z")

</div>

i don't understand. are you saying i need to do 2 separate actions?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 30, 2023, 4:47pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/5 "2023-12-30T16:47:41Z")

</div>

With the above easy to understand solution

> [@mbrazil05](#):
>
> i need to do 2 separate actions

Yes.  
Of course you can group the two steps together in 1 [Action Group](https://docs.mp3tag.de/actions/#action-groups).

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:50pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/6 "2023-12-30T16:50:27Z")

</div>

but so far it's now working.  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/40a9352fab6d242185b2dc2619b38b005063c4a0.png)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 30, 2023, 4:51pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/7 "2023-12-30T16:51:36Z")

</div>

> [@LyricsLover](#):
>
> You can do this in Convert Tag-\>Tag (with a preview of the result) or in an Action like "Format Value".

There is no indication to use a "Replace" action.

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:53pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/8 "2023-12-30T16:53:23Z")

</div>

i don't know what you mean ?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 30, 2023, 4:54pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/9 "2023-12-30T16:54:55Z")

</div>

First Action:  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/a/a27e5023da8ebd750f7e27f5fe9c9173e8f0bd4b.png)

Second Action:  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/cd6ab96018477e34247514625196d0175154aa10.png)

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 30, 2023, 4:59pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/11 "2023-12-30T16:59:14Z")

</div>

Great. this is what i needed. perfect.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 30, 2023, 8:34pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/12 "2023-12-30T20:34:56Z")

</div>

There is no need for 2 actions. You can also achieve the goal with just 1 action or the converter Tag -\>Tag.

Action Format Value or Converter Tag - \> Tag  
Field: TITLE  
Format string: `$replace(%title%,- ,'('))`

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 30, 2023, 9:32pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/13 "2023-12-30T21:32:06Z")

</div>

Sure, there are always several ways.  
Could you please explain how your solution exactly works?

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 30, 2023, 10:38pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/14 "2023-12-30T22:38:09Z")

</div>

The replace-function replaces the dash with an opening bracket and at the end a closing bracket is added.

---

<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: [January 29, 2024, 10:38pm UTC](https://community.mp3tag.de/t/after-the-dashes-into-parentheses/63256/15 "2024-01-29T22:38:30Z")

</div>

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