I need Hazel to do two things:
1. remove trailing space in a filename if one exists, excluding extension. (1968) .jpg ==> (1968).jpg
2. enclose any 4 digit year within parentheses 1969 ==> (1969)
I've read through the help files backwards and forwards and I cannot figure this out, still.
Does anybody have any suggestion how to accomplish this? My attempts all fail.
I have it successfully replacing text in many ways and I could do it with grep, but just not in Hazel.