My wife is a landscape architect. I am a graphic designer. She gives me a list of trees and plants for 11×17 color image presentation sheets. Each image sheet has 8 or 10 tree or plant images with static captions for each tree or plant. There are often 4 – 6 pages for each presentation.
I have a directories of images. The file name for each image is the same format:
Latin; common name; the year the image was added; my wife’s initials if we have many images of the same tree or plant and one is her favorite, and .jpg or png
For example, a static caption would be:
Bauhinia blakeana; Hong Kong Orchid Tree-2019-SH.jpg
The basic static caption formatting sets the font as [for ex:] Roboto light [100] for the latin.
Then by ‘hand’ I delete things, format the second line, etc.
Line 1: Bauhinia blakeana [the semicolon is deleted and Line 1 is Roboto 100 (light)]
Line 2: Hong Kong Orchid Tree [the year and/or initials, and file extension are deleted, and Line 2 is Roboto 400 (bold)]
My caption setup looks to the Metadata for the file name, then under nested styles – and after a Shift/Return – the font changes to Roboto 400.
The dash, semi-colon, dash, year, dash, initials, <dot>, and file extension are each deleted by ‘hand’.
Is there an automated way — using GREP? — to make these edits and deletions?