I have a folder full of text files with titles in this format:
<Title> - <DayName>, <MonthName> <DayNum>, <YearNum> at <Time>
example:
Street Cuisine - Wed, Jan 5, 2022 at 9-42 AM
I want to append to the beginning of the title:
<YearNum>-<MonthNum>-<DayNum>
So the final title would be:
2022-1-5 Street Cuisine - Wed, Jan 5, 2022 at 9-42 AM
The methods I've come up with seem pretty primitive, like using Switch actions to figure out the date.
Is there a more elegant way to do this? Maybe with regex?
Thanks in advance for your suggestions