Search and Replace
(PANTONE)\s((?:.*))\sU
– Search for a text string e.g: PANTONE 327 U
- which begins with PANTONE - written in capital letters
- is followed by any space - there are spaces in different widths
- is followed by any number of characters - letters and numbers whether upper or lower case
- is followed by any blank space - there are spaces of different widths -
- is followed by a U
The round brackets indicate groups of characters. Therefore, in the example
-
(PANTONE)
is symbol group 1 -
((?:.*))
is symbol group 2
When replacing characters, the character groups can be inserted using the placeholders $1
, $2
, etc.
$1 $2 C
– Replaces the target text according to the following pattern:
-
$1
– inserts the content of character group 1. -
Space
– inserts a normal blank space. -
$2
– inserts the content of character group 2. -
Space
– inserts a normal blank space. -
C
– inserts the letter C.
Search for color names for a "Dieline" in different languages
(?i)die.*|cut.*|thru.*|fustella.*|stan.*|decoupe.*|key.*|plan.*|taglio.*|troquel.*|corte.*|gaikei.*|bicak.*|vysek.*
Search for Spot Color names that are used in print production to describe a Dieline in different languages. The individual expressions have the following meanings:
-
(?i)
– During the search, the spelling - upper or lower case - is ignored for all letters. The expression applies to the entire text string (i.e. all characters in the searched text). -
die.*
– searches for all text strings that begin with die and end with none or any number of characters. The terms Die, Dieline, Diecut, Dies, Die Line, etc. are found. However, Dienstag is also found. -
|
– means Or. Everything that begins with die or cut or thru or fustella is searched.
Search Color Names for the Designation „White" in Different Languages
(?i)white.*|weiß?s?.*|bianco.*|blanc.*|bc.*|beyaz.*|bialy.*|spot ?white.*|opaque ?white.*|hpi-white.*|hpi.*|SS White|trykhvid.*
Search for Spot Color names that are used in print production to describe the Spot Color White in different languages. The individual terms have the following meaning:
-
(?i)
– during the search, the spelling - upper or lower case - is ignored for all letters. The expression applies to the entire text string (i.e. all characters in the searched text). -
die.*
– searches for all text strings that begin with die and end with none or any number of characters. This means that the terms Die, Dieline, Diecut, Dies, Die Line etc. are found. However, Diemaker is also found. -
|
– means Or. Everything that begins with die or cut or thru or fustella is searched. -
?
– means that a letter may or may not be present. E.g. the expressionweiß?s?
is used to search whether Weiß is written with a sharp ß or Weis with a normal s. However, a text string "weißs" would also be found.
Article update: Workflow 1.17.0 – 03/2024