change month name to month number
i have this file pattern
SimpleFileA Jun 19, 2020.mp4
SimpleFileS Jan 19, 2020.mp4
i would like to change month name to month number & rename them to this pattern
2020.06.19.SimpleFileA.mp4
2020.01.19.SimpleFileS.mp4
how can I do that?
SimpleFileA Jun 19, 2020.mp4
SimpleFileS Jan 19, 2020.mp4
i would like to change month name to month number & rename them to this pattern
2020.06.19.SimpleFileA.mp4
2020.01.19.SimpleFileS.mp4
how can I do that?
One way is to use the List replace method to rename the months - one line for each month...
Replace Jan with 01
Replace Feb with 02
Replace Mar with 03
...
Replace Dec with 12
Then use a Replace method (in the same batch) to rearrange...
Replace: (\w*) (\d{2}) (\d{2}), (\d{4})
With: \4.\2.\3.\1
Use regular expressions
Replace Jan with 01
Replace Feb with 02
Replace Mar with 03
...
Replace Dec with 12
Then use a Replace method (in the same batch) to rearrange...
Replace: (\w*) (\d{2}) (\d{2}), (\d{4})
With: \4.\2.\3.\1
Use regular expressions