Thanks for the reply. It's working now. Unfortunately I found out that I have some files that have the following format too
JohnDoe-JaneDoe-399-1080p.mp4So the only common thing of this new file format with the previous format is the number between the two dashes. There could be spaces before or after the two dashes too. So the two formats that I have will be below
JohnDoe-JaneDoe-399-1080p.mp4 John Doe & Jane Doe - 458 - Bonds.mp4
As you can see, there could be spaces before and after the dashes so the only consistent thing between the two file naming formats is there will be a number between two dashes
Is there a way to modify the if statement to accommodate both file formats?
In reply to Re^4: Removing characters in a file name
by andy2020
in thread Removing characters in a file name
by andy2020
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |