More > JRiver Media Center 25 for Mac
Batch replace tag conent
HaWi:
Brian your expression works! It correctly extracts the LastName from the Composer tag. BRILLIANT!
I am now going to try to us it to add that to the beginning of the Name tag.
Thank you so much!
Hans
HaWi:
Wow, Brian, this is so amazing. Using
=Replace([Name],Field(Name, 0),regex([Composer],/#^(.+),\s+#/,-1,0)[R1]: Field(Name,0))
I can now pull the Composer's LastName into the Name tag. Absolutely brilliant.
Brian, you are a STAR!
many thanks again
Hans
blgentry:
Thank you for the kind words. I'm glad I could help you. :)
Good luck with the rest of your project and MC in general.
Brian.
HaWi:
Thank you, Brian!
May I bother you one more time? I am trying to replace a comma "," but just inserting a comma obviously doesn't work. Is there a code (like ASCII or HEX) I can use instead?
many thanks,
Hans
blgentry:
Comma has special meaning in MC expression language. You can "escape" it, by putting a slash before it. So:
--- Code: ---/,
--- End code ---
See the expression language documentation for more details:
https://wiki.jriver.com/index.php/Expression_Language#Expression_Language_Syntax
Brian.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version