# How to Delete String inside Parens and preceding space

**URL:** https://community.mp3tag.de/t/how-to-delete-string-inside-parens-and-preceding-space/66359
**Category:** Support
**Created:** [October 26, 2024, 11:54pm UTC](https://community.mp3tag.de/t/how-to-delete-string-inside-parens-and-preceding-space/66359 "2024-10-26T23:54:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![parodytx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@parodytx](https://community.mp3tag.de/u/parodytx)
#### Post date: [October 26, 2024, 11:54pm UTC](https://community.mp3tag.de/t/how-to-delete-string-inside-parens-and-preceding-space/66359/1 "2024-10-26T23:54:39Z")

</div>

Sorry new to scripting, could not find in community - I have a number of titles that have a song title followed by a space and a string inside a set of parens (). The string is of differing lengths and content.

I would like to rename the title, retaining the song title but deleting the parens, the string inside the parens and the preceding space.

Thank you for any help.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [October 27, 2024, 2:39am UTC](https://community.mp3tag.de/t/how-to-delete-string-inside-parens-and-preceding-space/66359/2 "2024-10-27T02:39:35Z")

</div>

This was just recently answered here.

> [@Remove everything after the closing parenthesis](https://community.mp3tag.de/t/remove-everything-after-the-closing-parenthesis/66327):
>
> Hi, guys! I need to remove everything after the right parethesis in the title. Source: Song Name (Remix) some text Expected result: Song Name (Remix)

---

<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: [November 26, 2024, 2:40am UTC](https://community.mp3tag.de/t/how-to-delete-string-inside-parens-and-preceding-space/66359/3 "2024-11-26T02:40:22Z")

</div>

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