Hello,
Apologies if something similar is posted; my amateurish search didn't turn up exactly what i'm looking for.
I have a swath of file names where i want to add brackets to the last word in the name (in case you're mildly interested, I'm doing this to increase searchability after being uploaded into SharePoint).
Here's a before and after example (hoping someone can easily help me get to the "after"):
Before
14Q1 NAD highlights AABB
14Q1 NAD highlights CCD
14Q1 NAD highlights EF
After
14Q1 NAD highlights [AABB]
14Q1 NAD highlights [CCD]
14Q1 NAD highlights [EF]
As you can see, the last word in the name can be of varied length.
Thanks in advance for any help!
-Brandon