# Create Action Groups in a Text File?

**URL:** https://community.mp3tag.de/t/create-action-groups-in-a-text-file/52817
**Category:** Mac
**Created:** [April 13, 2021, 5:03pm UTC](https://community.mp3tag.de/t/create-action-groups-in-a-text-file/52817 "2021-04-13T17:03:21Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [April 13, 2021, 5:23pm UTC](https://community.mp3tag.de/t/create-action-groups-in-a-text-file/52817/2 "2021-04-13T17:23:46Z")

</div>

You could use the [scripting function](https://community.mp3tag.de/t/scripting-functions/51689) $replace() that allows several pairs of search and replace terms.  
So this could look like `$replace(%genre%,Concerto for Piano,Piano Concerto,Sonata for violin and piano,Violin Sonata,Quartet for Strings,String Quartet)`.  
Use an action of the type "Format value" for Genre (if that is the field that you want to update).

---

_[View the full topic](https://community.mp3tag.de/t/create-action-groups-in-a-text-file/52817)._
