Replace - character after certain and consistent # of instances
Hi there, I have file names like this:
AJPW - 12-02-1977 - Giant Baba-Jumbo Tsuruta vs. Abdullah The Butcher-The Sheik (RWTL).mp4
This part of the filename will always be consistent:
AJPW - 12-02-1977 - (including the space after the last -)
I would like to replace any - character the occurs after the 4th instance of it with an " & " character.
I.E. anything after "1977 - Giant" I want to replace any instances that occur of the - character with " & ".
Any regex or anything else that can accomplish this? Thanks in advance!
AJPW - 12-02-1977 - Giant Baba-Jumbo Tsuruta vs. Abdullah The Butcher-The Sheik (RWTL).mp4
This part of the filename will always be consistent:
AJPW - 12-02-1977 - (including the space after the last -)
I would like to replace any - character the occurs after the 4th instance of it with an " & " character.
I.E. anything after "1977 - Giant" I want to replace any instances that occur of the - character with " & ".
Any regex or anything else that can accomplish this? Thanks in advance!
Reply to #1:
Use the Replace method, with multiple occurrences in the text to be replaced field, as follow:
Text to be replaced: -\-\-\-\-\-
Replace with: &
Occurrence: 4th
Apply to: Name
Use the Replace method, with multiple occurrences in the text to be replaced field, as follow:
Text to be replaced: -\-\-\-\-\-
Replace with: &
Occurrence: 4th
Apply to: Name