# Reverse characters in the title which are not English chars

**URL:** <https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195>\
**Category:** Support\
**Tags:** player\
**Created:** [June 6, 2023, 3:49pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195 "2023-06-06T15:49:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kapaznik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kapaznik](https://community.mp3tag.de/u/Kapaznik)\
**Post date:** [June 6, 2023, 3:49pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/1 "2023-06-06T15:49:18Z")

</div>

Hi,  
I have some problems with some of my music,  
I have music with Hebrew/Arabic names (name is right to left)  
To be able to see them in my Dj software (Traktor) I need to reverse the name,  
but If I use the reverse function like this: "$reverse(%title%)" it's reverse all the title name, even if there are some English chars or numbers in the title  
e.g I want to reverse this: Example - דוגמא  
To this:  
Example - אמגוד

There is a way to do that with something like regular expression so it will ignore a-z, A-Z and 0-9?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [June 6, 2023, 4:27pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/2 "2023-06-06T16:27:07Z")

</div>

Could you please give us an example of such a mixed string?

Would this be something like  
`ABC 01 דוגמא`  
and you like to get it reversed to  
`ABC 01 אמגוד`

---

<div class="post-metadata">

**Author:** ![Kapaznik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kapaznik](https://community.mp3tag.de/u/Kapaznik)\
**Post date:** [June 6, 2023, 4:43pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/3 "2023-06-06T16:43:21Z")

</div>

Yes indeed, this to exactly what I want to do

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [June 6, 2023, 4:44pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/4 "2023-06-06T16:44:07Z")

</div>

Are there also combinations where it looks like this:  
`ABC 01 דוגמא CDE 02 דוגמא G`

---

<div class="post-metadata">

**Author:** ![Kapaznik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kapaznik](https://community.mp3tag.de/u/Kapaznik)\
**Post date:** [June 6, 2023, 4:46pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/5 "2023-06-06T16:46:12Z")

</div>

Might sub some like:

140BPM דוגמא -דוגמא (Extended)

But not any advanced combinations

---

<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:** [June 6, 2023, 9:52pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/6 "2023-06-06T21:52:59Z")

</div>

Try in an action of the type "Format value" for TITLE:  
`$replace(%title%,$regexp(%TITLE%,([a-zA-Z0-9\s\(\)\/]),),$reverse($regexp(%TITLE%,([a-zA-Z0-9\s\(\)\/]),)))`

* * *

No, don't try it - it does not work.

---

<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:** [June 7, 2023, 12:57pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/7 "2023-06-07T12:57:19Z")

</div>

> [@Kapaznik](#):
>
> To be able to see them in my Dj software (Traktor)

I am a little puzzled: the DJ program cannot cope with these characters?

In MP3tag it looks like WIndows does some magic if it discovers such characters and reverses the reading order.  
Also, if you select the text in such a field and right-click on it, you can force the reading LTR or RTL.  
@lyricslover and me tried a lot of expressions with $replace(), $reverse() and $regexp() and we could not get it to work in a mixed string.

Which brings me back to the DJ software - I would ask the publishers of that software whether they can do anything about your problem - is it looks like a display problem in their software.

Just for the record  
דוגמא-דוגמא translates "example-example  
אמגוד-אמגוד translates Amgood-amgood  
So will the whole effort to a sensible result?

---

<div class="post-metadata">

**Author:** ![Kapaznik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kapaznik](https://community.mp3tag.de/u/Kapaznik)\
**Post date:** [June 7, 2023, 3:09pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/8 "2023-06-07T15:09:31Z")

</div>

Unfortunately, the DJ program (Traktor) doesn't have a proper solution for this, this issue is relevant for both Hebrew and Arabic languages (both languages are RTL),

If you have the option to contact the owner of the software and tell them about the problem I would really appreciate it since it's a visual thing in the code,

While waiting for an answer here I also built a Python script that reverses the title name while ignoring any chars not in the Hebrew alphabet.

If I did it in like 40 minutes I bet Native Instruments (Traktor owners) can do it also 🙂

Thanks a lot, I really appreciate your time and afford to assist me

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [June 8, 2023, 1:29am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/9 "2023-06-08T01:29:04Z")

</div>

> [@Kapaznik](#):
>
> If you have the option to contact the owner of the software and tell them about the problem I would really appreciate it since it's a visual thing in the code,

I think this is beyond the scope of what mp3tag is designed to do. Furthermore, the forum and users should not be expected to reach out to other software developers to improve or correct their product. This will need to be something you seek there for further support.

---

<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:** [June 8, 2023, 5:14am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/10 "2023-06-08T05:14:29Z")

</div>

> [@ohrenkino](#):
>
> Try in an action of the type "Format value" for TITLE:  
> `$replace(%title%,$regexp(%TITLE%,([a-zA-Z0-9\s\(\)\/]),),$reverse($regexp(%TITLE%,([a-zA-Z0-9\s\(\)\/]),)))`

We are still at it in way. The problems that we found run around the space character as that gets removed with the regular expression and that makes the source string and the comparison string not to match.  
I created an action group of 4 actions:

1. Format value for (user-defined) INVERS1:  
Format string: `$regexp(%TITLE%,'([a-zA-Z0-9\s\(\)\/])',)`
2. Format value for (user-defined) INVERS2:  
Format string: `$reverse($regexp(%TITLE%,'([a-zA-Z0-9\s\(\)\/])',))`
3. Format value for TITLE  
Format string: `$replace(%title%,%invers1%,%invers2%)`
4. Remove fields: invers1,invers2

This turns  
`140BPM דוגמא-דוגמא (Extended)`  
into  
`140BPM אמגוד-אמגוד (Extended)`

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [June 8, 2023, 9:50am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/11 "2023-06-08T09:50:26Z")

</div>

> [@MotleyG](#):
>
> Furthermore, the forum and users should not be expected to reach out to other software developers to improve or correct their product. This will need to be something you seek there for further support.

+1 👍

This is especially true for a product like DJ Traktor that is sold for money and for which support is promised by the manufacturer («Native Instruments»).

---

<div class="post-metadata">

**Author:** ![Kapaznik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kapaznik](https://community.mp3tag.de/u/Kapaznik)\
**Post date:** [June 8, 2023, 10:14am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/12 "2023-06-08T10:14:16Z")

</div>

Yes I can understand that, I don't know what I think while writing this 😃

---

<div class="post-metadata">

**Author:** ![djgoosh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@djgoosh](https://community.mp3tag.de/u/djgoosh)\
**Post date:** [October 30, 2023, 9:17am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/13 "2023-10-30T09:17:47Z")

</div>

Hi bro 🙂  
did you manage to fix it ?  
I was just about to open a discussion about the same thing and it offered me this discussion instead 🙂

---

<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:** [October 30, 2023, 9:37am UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/14 "2023-10-30T09:37:59Z")

</div>

I think the bottom line was: contact the player's support.

---

<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:30pm UTC](https://community.mp3tag.de/t/reverse-characters-in-the-title-which-are-not-english-chars/61195/15 "2026-02-09T12:30:05Z")

</div>


