Hi everyone just wondering if some one can help me with this. I'd like to add dots to the title or artist fields of some songs. So for e.g if it was SONG, I'd like it to be S.O.N.G. Also if possible if its lower case like song then it I'd like it to be S.O.N.G. Thanks in advance for any help.
Try an action of the type "Format value" or Converter>Tag-Tag for the target field
Format string: $regexp(SONG,(.),$1.)
Instead of song enter the field variable.
If you want to add a dot after each letter (but not after special signs like a comma or # or numbers), then you could use
$upper($regexp(%TITLE%,'([a-zA-Z]{1})',$1.))
This would add a dot after every single letter from a to z and A to Z.
All the letters would be changed to UPPERCASE.
You can test it here with your real use cases.
Thanks for that. Only thing is that it adds a dot after the last letter. Anyway to prevent this?
Great. It adds a dot after the last letter. Anyway to get rid of it? Thnx
Which solution do you prefer: The one for ALL characters or the one for letters only?
The one for letters should do. Thnx
The format string matching every single character - except the very last one - in the tag %TITLE%, adding a dot to it and write it in UPPERCASE:
$upper($regexp(%TITLE%,((.)(?!$)),$1.))
It works . I appreciate u bro. Thanks for taking time out to help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.