Automator- Search for string of dates in title, replace them
Hi all,
I'm decent with Automator, figuring out simple ways to replace periods with spaces while preserving extensions, or whatever.
BUT, I'm stumped on this one.
So I have various file names with actual years in the names.
Say- Blah.blah.blah.1950.ext
or Bleh_bleh_bluh_2010.ext
I like to make things pretty, so I get rid of dots and underscores whenever possible.
I can get these files to the point of
Blah blah blah 1950.ext
and
Bleh bleh bluh 2010.ext
But I want the years to be in parenthesis. Like Blah blah blah (1950) or Bleh bleh bluh (2010)
So, sure, I could have an action for every single year and tell it to replace with the same year in parenthesis, but wow, that would take a long time to input.
Is there way to have it search for an entire string of dates like 1900 to 2100 and change to (1900) to (2100)
Ok... well, I'd appreciate any help, not in a rush so don't miss dinner over this. 🙂
Thanks!