I came across the following in the forums while looking for a solution to capitalise the first letter of every word within parenthesis.
Action: Replace with regular expression
Regular expression: ^(.*)$
Replace matches with: $caps2($1)
[ ] case-sensitive comparison
For some it works for others it doesn't. For example;
H.M.S. Pinafore: Act I. “We sail the ocean blue” (Sailors), became
H.M.S. Pinafore: Act I. "We Sail The Ocean Blue (Sailors), which is what I want.
However; H.M.S. Pinafore: Act I. “Hail, men-o’-war’s men” (Buttercup), became,
"H.M.S. Pinafore: Act I. “Hail
Any idea why this happens?
Prior to trying this, I simply used the installed case conversion action and this worked for capitalising after quotes. Now however, case conversion capitalises the first letter of each word except the first word. Also replacing quote marks with double apostrophes with a simple replace no longer works.
Any help would be gratefully received.