# Swap Between Fields & Keep Certain Info

**URL:** <https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872>\
**Category:** Support\
**Created:** [May 7, 2020, 10:35am UTC](https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872 "2020-05-07T10:35:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![534n](https://community.mp3tag.de/user_avatar/community.mp3tag.de/534n/32/7626_2.png) [@534n](https://community.mp3tag.de/u/534n)\
**Post date:** [May 7, 2020, 10:35am UTC](https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872/1 "2020-05-07T10:35:58Z")

</div>

So I've known how to swap info between 2 fields. But this time I want ask about how to swap them but keep certain info. Inside my _Comment_ field, I've put some info and want to keep them from being switched to the _Title_ field.

Input Example:  
Title: Qiang Si  
Comment: Chance | From: ?SHOW

Desire Output:  
Title: Chance  
Comment: Qiang Si | From: ?SHOW

**| From: Info** is the one that I want to keep.

Can I achieve this? Thanks for the help.

---

<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:** [May 7, 2020, 10:50am UTC](https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872/2 "2020-05-07T10:50:53Z")

</div>

Try an action of the type "Guess value"  
Source: `$regexp(%comment%,(.*) \| (.*),$1==%title% | $2)`  
Target: `%title%==%comment%`

---

<div class="post-metadata">

**Author:** ![534n](https://community.mp3tag.de/user_avatar/community.mp3tag.de/534n/32/7626_2.png) [@534n](https://community.mp3tag.de/u/534n)\
**Post date:** [May 7, 2020, 1:26pm UTC](https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872/3 "2020-05-07T13:26:43Z")

</div>

Thank you, work perfectly 👍

---

<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:** [June 6, 2020, 1:26pm UTC](https://community.mp3tag.de/t/swap-between-fields-keep-certain-info/48872/4 "2020-06-06T13:26:43Z")

</div>

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