In a data driven category without a replace mask: Season 1, Episode 8 enumerates as follows:
Season 1,
-----Episode 8
... And, with this replace mask: Episode [0-9]?[0-9]{1}[a-e]?.*,, the output is:
Season 1,
However, I'm trying to suppress the comma, with this replace mask: (~\, )Episode [0-9]?[0-9]{1}[a-e]?.*,, which doesn't work. I figure it's because the comma is pivotal in the replace mask expression. Is there any way to escape it?
What are you trying to do? Do you have configured the , to be a hierarchy separator?
No, I do not have the comma as a hierarchy separator.
I have a collection of video files with multi-lined titles like this:
Lost In Space
Season 2, Episode 20
The Space Vikings
My goal is to have the data driven category output as follows:
Lost In Space
---Season 2
However, the best I can do right now - with Episode [0-9]?[0-9]{1}[a-e]?.*, - is:
Lost In Space
---Season 2,
So, I have effectively created a two-level category that puts all of the 20+ episodes of Season 2 under one node. Great! But how can I get rid of the comma in the category display?
Not everything is doable.
Maybe remove the commas from the titles first (MD Mechanic) and then produce your category.
Okay. I just tried using MD Mechanic, with Regular Expression Replace>Replace:Season [1-9], With:Season [1-9].
The result:
Lost In Space
Season 2, Episode 20
The Space Vikings
...becomes...
Lost In Space
Season [1-9] Episode 20
The Space Vikings
So, what is wrong with the syntax of my expression?
I would just have replaced the , with 'nothing'.