Search for Part of a Spot Colour Name

Post Reply
MJDS
Member
Posts: 24
Joined: Mon Feb 19, 2024 12:19 pm

Search for Part of a Spot Colour Name

Post 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.
User avatar
JimmyHartington
Advanced member
Posts: 453
Joined: Tue Mar 22, 2011 7:38 am

Re: Search for Part of a Spot Colour Name

Post by JimmyHartington »

This should be possible with the "Rename spot color"-action.
By using the regular expression:

Code: Select all

.*cut.*
you can target spot colours with "cut" in the name.

Image
MJDS
Member
Posts: 24
Joined: Mon Feb 19, 2024 12:19 pm

Re: Search for Part of a Spot Colour Name

Post by MJDS »

Excellent does the trick.
Thanks for your help
User avatar
JimmyHartington
Advanced member
Posts: 453
Joined: Tue Mar 22, 2011 7:38 am

Re: Search for Part of a Spot Colour Name

Post 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
MJDS
Member
Posts: 24
Joined: Mon Feb 19, 2024 12:19 pm

Re: Search for Part of a Spot Colour Name

Post by MJDS »

Thanks for the Info will be using this more in the future
loicaigon
Advanced member
Posts: 631
Joined: Wed Jul 10, 2013 10:22 am

Re: Search for Part of a Spot Colour Name

Post 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 ;)
Loïc Aigon
Enfocus PitStop Manager
MJDS
Member
Posts: 24
Joined: Mon Feb 19, 2024 12:19 pm

Re: Search for Part of a Spot Colour Name

Post by MJDS »

Looking forward to it Loic.
Nice one
Post Reply