# 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:** 8

<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 23, 2022, 3:15pm UTC](https://community.mp3tag.de/t/removing-a-specific-value-but-only-for-a-specific-fileformat/56435/8 "2022-02-23T15:15:02Z")

</div>

Either you use `$upper` with the extension comparison in UPPERCASE

```auto
$if($eql('TTA',$upper(%_EXTENSION%)),$repl(%TITLE%,' TTA',' '),)

```

or you use `$lower` with the extension comparison in lowercase

```auto
$if($eql('tta',$lower(%_EXTENSION%)),$repl(%TITLE%,' TTA',' '),)

```

Do you want to replace the tta string in all variations like `tta`, `tTa`, `tTA`, `TTa`, `ttA`, `TTA`?  
Or what case should be ignored?

**Later added warning:**

> **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)

---

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