Page 1 of 1
Search for Part of a Spot Colour Name
Posted: Tue Oct 15, 2024 2:06 pm
by MJDS
Is there an Action/Variable that can check for part of a spot colour name.
For example a file contains a spot colour called “cutterguide”
Could you search for part of the name “cut” and replace it with another spot colour name.
Re: Search for Part of a Spot Colour Name
Posted: Tue Oct 15, 2024 3:26 pm
by JimmyHartington
This should be possible with the "Rename spot color"-action.
By using the regular expression:
you can target spot colours with "cut" in the name.

Re: Search for Part of a Spot Colour Name
Posted: Tue Oct 15, 2024 3:54 pm
by MJDS
Excellent does the trick.
Thanks for your help
Re: Search for Part of a Spot Colour Name
Posted: Tue Oct 15, 2024 4:01 pm
by JimmyHartington
If you need to test a regular expression I can recommend
www.regex101.com
Here is one for testing names with cut.
https://regex101.com/r/m9tmPF/1
Re: Search for Part of a Spot Colour Name
Posted: Wed Oct 16, 2024 11:30 am
by MJDS
Thanks for the Info will be using this more in the future
Re: Search for Part of a Spot Colour Name
Posted: Wed Oct 16, 2024 11:33 am
by loicaigon
You may also want to ensure you properly register to the next Enfocus Workshop dedicated to PitStop where we will cover Regular Expressions

Re: Search for Part of a Spot Colour Name
Posted: Wed Oct 16, 2024 3:14 pm
by MJDS
Looking forward to it Loic.
Nice one