# Removing a specific value - but only for a specific fileformat

**URL:** https://community.mp3tag.de/t/removing-a-specific-value-but-only-for-a-specific-fileformat/56435
**Category:** Support
**Created:** [February 22, 2022, 6:29pm UTC](https://community.mp3tag.de/t/removing-a-specific-value-but-only-for-a-specific-fileformat/56435 "2022-02-22T18:29:41Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [February 22, 2022, 7:36pm UTC](https://community.mp3tag.de/t/removing-a-specific-value-but-only-for-a-specific-fileformat/56435/6 "2022-02-22T19:36:44Z")

</div>

> [@Zerow](#):
>
> But I need this as an single action; as in using a single groups action and not combining it with other Mp3tag features

If you really want to go that way, you could use something like this in your "Format value" action:  
`$if($eql('TTA',$upper(%_extension%)),$repl(%TITLE%,' tta ',' '),)`

> **Please don't use this abbreviated syntax!**
>
> As found in this [bug report](https://community.mp3tag.de/t/similar-actions-get-mixed-up/56456), the abbrevation of `$repl` instead of using `$replace` can result in unwanted changes. Always use `$replace` as stated in the [help.](https://docs.mp3tag.de/scripting/#string-functions)

This would replace the text `space tta space` with a single `space` whenever the extension of the current file is TTA. You have to adjust it to your needs and use cases.

As @ohrenkino told you: This will also remove the bold marked text from titles:  
Let **tta** and Cathode  
or  
Too young **tta** way

---

_[View the full topic](https://community.mp3tag.de/t/removing-a-specific-value-but-only-for-a-specific-fileformat/56435)._
