I am trying to change the uppercase letters in the file names to lowercase using regex but have not succeeded yet. Can anyone give me a hint on how to do so. I have tried using both DEVONthink scripts and smart rules. My filename patterns look like this,
File-Description-date1-date2
and I want to get:
file_description_date1_date2
This is the regex pattern that I look for
([a-zA-Z]*)-([a-zA-Z]*)-(\d{8})-(\d{8})
for the replacement pattern, I have tried \L\1_\L\2_\3_\4 without any luck.