# Remove text after specific string

**URL:** https://community.mp3tag.de/t/remove-text-after-specific-string/13430
**Category:** Support
**Created:** [May 15, 2012, 7:56pm UTC](https://community.mp3tag.de/t/remove-text-after-specific-string/13430 "2012-05-15T19:56:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)
#### Post date: [May 15, 2012, 7:56pm UTC](https://community.mp3tag.de/t/remove-text-after-specific-string/13430/1 "2012-05-15T19:56:29Z")

</div>

Hi again,

How I can remove all text in the comment field, that come after a specific string (say in my case: '

**').**

I've tried:

[/t/13292/1](https://community.mp3tag.de/t/13292/1)

Replacing what correspond, with no success, not knowing what I'm doing wrong !!!???

Any suggestion, thanks...

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [May 15, 2012, 8:52pm UTC](https://community.mp3tag.de/t/remove-text-after-specific-string/13430/2 "2012-05-15T20:52:26Z")

</div>

remove everything after

 including 
:  
$regexp(%fieldname%,
.\*,)

remove everything after

 :  
$regexp(%fieldname%,(
).\*,$1)

---

<div class="post-metadata">

### Author: ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)
#### Post date: [May 15, 2012, 8:59pm UTC](https://community.mp3tag.de/t/remove-text-after-specific-string/13430/3 "2012-05-15T20:59:39Z")

</div>

That's it... Thank you pone.

---

<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: [February 9, 2026, 12:23pm UTC](https://community.mp3tag.de/t/remove-text-after-specific-string/13430/4 "2026-02-09T12:23:50Z")

</div>


