# Regex replace up to next bracket and move to artist

**URL:** <https://community.mp3tag.de/t/regex-replace-up-to-next-bracket-and-move-to-artist/45944>\
**Category:** Support\
**Created:** [July 20, 2019, 9:23am UTC](https://community.mp3tag.de/t/regex-replace-up-to-next-bracket-and-move-to-artist/45944 "2019-07-20T09:23:15Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![kramerman342](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kramerman342/32/6650_2.png) [@kramerman342](https://community.mp3tag.de/u/kramerman342)\
**Post date:** [July 22, 2019, 9:13am UTC](https://community.mp3tag.de/t/regex-replace-up-to-next-bracket-and-move-to-artist/45944/21 "2019-07-22T09:13:30Z")

</div>

I just wouldn't give up, but I think I got it!  
`$regexp(%title%,'^(.+)\s[[({](.+?Mix|.+?Acoustic|.+?Edit|.+?Version|.+?Dub|.+?Remix)[])}]?$',$1 '['$2']')`

 ![Untitled%202](https://community.mp3tag.de/uploads/default/original/2X/e/ecb6afce87b6a4ead2ee88948de0e2be18e672f0.jpeg)

---

<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:** [August 21, 2019, 9:22am UTC](https://community.mp3tag.de/t/regex-replace-up-to-next-bracket-and-move-to-artist/45944/22 "2019-08-21T09:22:01Z")

</div>

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

[Previous page](https://community.mp3tag.de/t/regex-replace-up-to-next-bracket-and-move-to-artist/45944.md?page=1)
