I am writing an Acrobat Professional DC custom Preflight profile in which I need to check if the spot colors names finishes with either 'U' or 'C'.
Can a regex solve this?
This regex does that:
[UC]$
The $
ensures that the match occurs at the end of the string.