Replace colon characters differently depending on the context
Posted: 09 Nov 2016, 15:28
Hi!
I want to convert:
text:text -> text.text
and
text: text -> text - text
For example:
11:14 (2003) -> 11.14 (2003)
while
District 13: Ultimatum (2009) -> District 13 - Ultimatum (2009)
This is my format atm: {ny.colon(' - ')}.{vf}{'.'+source}.{ac}{'.'s3d}.{vc}/{ny.colon(' - ')}.{vf}{'.'+source}.{ac}{'.'s3d}.{vc}{'[CD'+pi+']'}
I've tried to make it with {n.replaceAll(':^ ','.')} or something like it but I just can't figure it out.
I have also been thinking if it is possible to use the original title if it is a Swedish movie?
Thanks for the great program and expect an donation in the near future.
I want to convert:
text:text -> text.text
and
text: text -> text - text
For example:
11:14 (2003) -> 11.14 (2003)
while
District 13: Ultimatum (2009) -> District 13 - Ultimatum (2009)
This is my format atm: {ny.colon(' - ')}.{vf}{'.'+source}.{ac}{'.'s3d}.{vc}/{ny.colon(' - ')}.{vf}{'.'+source}.{ac}{'.'s3d}.{vc}{'[CD'+pi+']'}
I've tried to make it with {n.replaceAll(':^ ','.')} or something like it but I just can't figure it out.
I have also been thinking if it is possible to use the original title if it is a Swedish movie?
Thanks for the great program and expect an donation in the near future.