# Trimming CATALOGID

**URL:** <https://community.mp3tag.de/t/trimming-catalogid/45146>\
**Category:** Support\
**Created:** [April 14, 2019, 4:43pm UTC](https://community.mp3tag.de/t/trimming-catalogid/45146 "2019-04-14T16:43:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.lynch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/david.lynch/32/5682_2.png) [@david.lynch](https://community.mp3tag.de/u/david.lynch)\
**Post date:** [April 14, 2019, 4:43pm UTC](https://community.mp3tag.de/t/trimming-catalogid/45146/1 "2019-04-14T16:43:48Z")

</div>

How get CATALOGID field trimmed to be only the first entry (before the first comma) when we get tags using Discogs Release ID as source?

This is an example where we get the field with a repeated data, as "13.15027, 013.15027"; we just want "013.15027":

> **[Age Pee Feat. Shipra - No Hip Hop (Remix Version)](https://www.discogs.com/Age-Pee-Feat-Shipra-No-Hip-Hop-Remix-Version/release/2284982)**
>
> Label: Night'n Day Records - 013.15027,Musicolor (2) - 013.15027 • Format: CD Maxi-Single • Country: Germany • Genre: Electronic • Style: Hip-House

---

<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 14, 2019, 5:37pm UTC](https://community.mp3tag.de/t/trimming-catalogid/45146/2 "2019-04-14T17:37:01Z")

</div>

You could use an action of the type "Guess value"  
Source: %catalogid%  
Target: %catalogid%, %dummy%

---

<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:28pm UTC](https://community.mp3tag.de/t/trimming-catalogid/45146/3 "2026-02-09T12:28:02Z")

</div>


