Hello,
we have many files in the following format (created by an Adobe software):
WE-TEST-IT-2021-01-13-Test-2019-available.jpg
WE-TEST-IT-2022-01-14-Test-Extensions-Promotion.jpg
WE-TEST-IT-2023-01-15-Test-Extensions-Webinar.jpg
WE-TEST-IT-2024-02-26-Test-added-to-Software-Portfolio.jpg
WE-TEST-IT-2024-02-27-Test-Studio-advancing-resilience.jpg
WE-TEST-IT-2024-02-28-Test-One-2024-1-available.jpg
WE-TEST-IT-2024-02-29-Test-added-to-Software-Portfolio.jpg
I am looking for a RegEx expression for the Multi Rename Tool to replace all dashes by spaces, except for those in the ISO date YYYY-MM-DD within the filenames.
The outcome should then be:
WE TEST IT 2021-01-13 Test 2019 available.jpg
WE TEST IT 2022-01-14 Test Extensions Promotion.jpg
WE TEST IT 2023-01-15 Test ExtensionsWebinar.jpg
WE TEST IT 2024-02-26 Test added to Software Portfolio.jpg
WE TEST IT 2024-02-27 Test Studio advancing resilience.jpg
WE TEST IT 2024-02-28 Test One 2024 1 available.jpg
WE TEST IT 2024-02-29 Test added to Software Portfolio.jpg
The rules are explained in the helpfile with the following limitation:
The used regex library has a limitation that look ahead must be at the end of the regular expression and look behind must be at the start. Otherwise an error will be shown.
I have spent hours trying it and even with Copilot, but it seems that it simply does not work or runs into this error.
Could you please help me finding a RegEx that works in Total Commander, please?
we have many files in the following format (created by an Adobe software):
WE-TEST-IT-2021-01-13-Test-2019-available.jpg
WE-TEST-IT-2022-01-14-Test-Extensions-Promotion.jpg
WE-TEST-IT-2023-01-15-Test-Extensions-Webinar.jpg
WE-TEST-IT-2024-02-26-Test-added-to-Software-Portfolio.jpg
WE-TEST-IT-2024-02-27-Test-Studio-advancing-resilience.jpg
WE-TEST-IT-2024-02-28-Test-One-2024-1-available.jpg
WE-TEST-IT-2024-02-29-Test-added-to-Software-Portfolio.jpg
I am looking for a RegEx expression for the Multi Rename Tool to replace all dashes by spaces, except for those in the ISO date YYYY-MM-DD within the filenames.
The outcome should then be:
WE TEST IT 2021-01-13 Test 2019 available.jpg
WE TEST IT 2022-01-14 Test Extensions Promotion.jpg
WE TEST IT 2023-01-15 Test ExtensionsWebinar.jpg
WE TEST IT 2024-02-26 Test added to Software Portfolio.jpg
WE TEST IT 2024-02-27 Test Studio advancing resilience.jpg
WE TEST IT 2024-02-28 Test One 2024 1 available.jpg
WE TEST IT 2024-02-29 Test added to Software Portfolio.jpg
The rules are explained in the helpfile with the following limitation:
The used regex library has a limitation that look ahead must be at the end of the regular expression and look behind must be at the start. Otherwise an error will be shown.
I have spent hours trying it and even with Copilot, but it seems that it simply does not work or runs into this error.
Could you please help me finding a RegEx that works in Total Commander, please?
Statistics: Posted by CSchneider — 2024-02-29, 20:41 UTC