# Combining 'replace with' \[empty\] in multiple fields action

**URL:** https://community.mp3tag.de/t/combining-replace-with-empty-in-multiple-fields-action/42578
**Category:** Support
**Created:** [August 6, 2018, 7:33am UTC](https://community.mp3tag.de/t/combining-replace-with-empty-in-multiple-fields-action/42578 "2018-08-06T07:33:27Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 6, 2018, 6:17pm UTC](https://community.mp3tag.de/t/combining-replace-with-empty-in-multiple-fields-action/42578/6 "2018-08-06T18:17:01Z")

</div>

Just to add the "Guess value" example:  
Action: Guess value  
`Source: $replace(%_directory% == %_filename% === %album%, '('Album')',, '('Digital Album')',, '('EP')',, '('LP')',, '('Single')',)`  
String: `%_directory% == %_filename% === %album%`

There is no guarantee that it actually works with this combination of fields as I still suspect that you have to run actions that manipulate the folder name in a different action group.

---

_[View the full topic](https://community.mp3tag.de/t/combining-replace-with-empty-in-multiple-fields-action/42578)._
