# Add text to comment

**URL:** https://community.mp3tag.de/t/add-text-to-comment/64441
**Category:** Mac
**Created:** [April 17, 2024, 9:55pm UTC](https://community.mp3tag.de/t/add-text-to-comment/64441 "2024-04-17T21:55:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jasonboudinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jasonboudinot/32/11242_2.png) [@jasonboudinot](https://community.mp3tag.de/u/jasonboudinot)
#### Post date: [April 17, 2024, 9:55pm UTC](https://community.mp3tag.de/t/add-text-to-comment/64441/1 "2024-04-17T21:55:45Z")

</div>

I have a single digit number in my comment field. Id like to add the text "Energy" before the number with a space between. Any help is appreciated. Replace or replace with regular expression? TIA

---

<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 18, 2024, 5:26am UTC](https://community.mp3tag.de/t/add-text-to-comment/64441/2 "2024-04-18T05:26:16Z")

</div>

> [@jasonboudinot](#):
>
> Replace or replace with regular expression?

Or this one from the FAQs:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/5):
>
> How to append the string " xyz" to the content of a tag field? Create a [new action](https://community.mp3tag.de/t/actions/967/2) in an existing action group and choose Format value as action type. Field specifies the tag field the formatting rule should be applied to. Format string must have the field placeholder for the field selected above and the string which should be appended. Example: If you want to append the string " xyz" to the current value of the comment field: Action type: Format value Field: COMMENT Format string: %com…

If you insist on a replace action, try "Replace with regular expression" for COMMENT  
Search string: `(.*)`  
Replace with: `Energy $1`

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 18, 2024, 6:55am UTC](https://community.mp3tag.de/t/add-text-to-comment/64441/3 "2024-04-18T06:55:55Z")

</div>

The FAQ entry @ohrenkino mentioned to is referring to the Windows version of Mp3tag. The equivalent of **Format value** is named **[Format tag field](https://community.mp3tag.de/t/quick-actions-and-action-groups/51882#format-tag-field-5)** on macOS.

Another option would be to use **Convert → Tag - Tag** : just select `COMMENT` as field and use  
`Energy %comment%`  
as format string.

 ![image](https://community.mp3tag.de/uploads/default/original/3X/c/b/cb72e339241b5f1482ef7a3c0982a8164ba31459.jpeg)

---

<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: [May 18, 2024, 6:56am UTC](https://community.mp3tag.de/t/add-text-to-comment/64441/4 "2024-05-18T06:56:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
