# \[X\] replace with escape chars. fails

**URL:** https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191
**Category:** No Bugs
**Created:** [December 17, 2006, 4:39am UTC](https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191 "2006-12-17T04:39:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![abdsea](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/5f8ce5/32.png) [@abdsea](https://community.mp3tag.de/u/abdsea)
#### Post date: [December 17, 2006, 4:39am UTC](https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191/1 "2006-12-17T04:39:54Z")

</div>

Hi,

I have file names which contains words in brackets, ex. (New) or (Re) etc.

I used to use the following regular expressions to replace them with null.

"(New)" "" and this used to be successful in previous versions. The regular expression now fails with version 2.37a. Please advice.

N 🙂

---

<div class="post-metadata">

### Author: ![abdsea](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/5f8ce5/32.png) [@abdsea](https://community.mp3tag.de/u/abdsea)
#### Post date: [December 17, 2006, 4:57am UTC](https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191/2 "2006-12-17T04:57:27Z")

</div>

Actually i forgot to mention now the file just removes all the paranthesis found in file names.

"abc (New)" , "abc (Re)" now becomes "abc New", "abc Re" and so on..

before it would be "abc (New)" , "abc (Re)" now becomes "abc", "abc (Re)" and so on..

Thanks

N 🙂

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 20, 2006, 8:52pm UTC](https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191/3 "2006-12-20T20:52:43Z")

</div>

This is not a bug. Use ((.+?)) instead and replace it by $1.

Best regards,  
Florian

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:18pm UTC](https://community.mp3tag.de/t/x-replace-with-escape-chars-fails/4191/4 "2018-12-28T14:18:31Z")

</div>

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