# Copy the date found in the Title to Comments

**URL:** <https://community.mp3tag.de/t/copy-the-date-found-in-the-title-to-comments/42699>\
**Category:** Support\
**Created:** [August 20, 2018, 3:56am UTC](https://community.mp3tag.de/t/copy-the-date-found-in-the-title-to-comments/42699 "2018-08-20T03:56:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDailyVinyl](https://community.mp3tag.de/user_avatar/community.mp3tag.de/thedailyvinyl/32/382_2.png) [@TheDailyVinyl](https://community.mp3tag.de/u/TheDailyVinyl)\
**Post date:** [August 20, 2018, 3:56am UTC](https://community.mp3tag.de/t/copy-the-date-found-in-the-title-to-comments/42699/1 "2018-08-20T03:56:30Z")

</div>

Greetings from Nashville. Thanks for my favorite program!! I use MP3Tag every week. And I'm on a hot streak lately. I know this will be a super simple action request for you geniuses out there!

I would like to copy the dates found in song titles to the comments field (so I can sort by date, via the comments)

For example, the **Title** would be in 1 of two formats; with or without a venue and city:

1. Bird Song ( **1981-02-26** Uptown Theatre, Chicago)
2. Samson And Delilah ( **1977-05-26** )

I would like to copy the **1981-02-26** and **1977-05-26** to the **Comments** field.

One caveat, if there is information in the Comment already, I would like the new date to come first with a " " followed by the existing comment.

So, if the Comment field already has "Recorded live at Baltimore Civic Center, Baltimore", the new comment would be:  
1977-05-26 Recorded live at Baltimore Civic Center, Baltimore

Thanks again!!!!!! You guys rock!!

---

<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 20, 2018, 4:48am UTC](https://community.mp3tag.de/t/copy-the-date-found-in-the-title-to-comments/42699/2 "2018-08-20T04:48:17Z")

</div>

Try an action of the type "Format value" for comment  
Format String: `"$regexp(%title%,'.*\((\d+-\d+-\d+).*',$1)" %comment%`  
You may have to trim the field later.

---

<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:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/copy-the-date-found-in-the-title-to-comments/42699/3 "2026-02-09T12:27:36Z")

</div>


