I am wanting to turn things like this:
Motley Crue: Theater Of Pain (1985)
Into this:
Motley Crue
Again have been racking my brain for hours. Need to eliminate the headache.
I am wanting to turn things like this:
Motley Crue: Theater Of Pain (1985)
Into this:
Motley Crue
Again have been racking my brain for hours. Need to eliminate the headache.
The : (colon) is the unique dividing character?
In which field do you want to remove the right part after the colon?
In the filename? In the TITLE?
Again, you don't say which field it concerns, as you did here.
Sorry about not mentioning the FIELD's. I want to take information from Filename and put in artist or comments FIELD haven't decided yet. I am new to the community.
The filename never contains a colon (it's an invalid character in the Windows file system).
Please show us real example filenames and what you want to separate in which tag.
You can add screenshots in your questions or answers to better illustrate your current situation (Windows File Explorer?)
You can find the general description how to import parts of file- and folder names here:
I meant ARTIST FIELD, my brain is mush right now. I understand how to move information from one field to another. It's the manipulation of the information I am moving I struggle with. But yeah exactly, I want to remove the colon and everything after it. Hope this makes sense. Need to go to bed. Thank you for the help,
I suggest to start with Convert Tag -> Tag and the field you want to modify. This way you can immediately see the result of your change.
If you want to remove everything after a colon in the field ARTIST, it would look like this:
Field:
ARTIST
Format string:
$regexp(%ARTIST%,(.*): (.*),$1)
If you are sure that you really want to remove (forever!) the colon and the addition after the colon, you could also create an Action "Replace with regular expression" with
Field:
ARTIST
Regular expression
(.*): (.*)
Replace matches with:
$1
Hint:
This regular expressions works for your example with ONE colon.
If your field would contain several colons like in
Motley Crue: Theater Of Pain (1985): and other dramas
it would result in
Motley Crue: Theater Of Pain (1985)
because the regular expression is matching the left part until the last colon.
The following alternative from @ohrenkino would select the left part until the first colon.
This is just to clarify that it is crucial to give examples and variants that are as precise as possible.
As an alternative: Use an action of the type "Guess value"
Source format: %artist%
Guessing pattern: %artist%: %dummy%