Task
specs contains text such as Color: black; Material: metal; Size: M. The export needs separate color and material columns.
Short answer
Create two columns from specs: in color, keep the Color: ... fragment, remove Color:, and trim; repeat the same for Material: in material.
How to do it in Eofferix
Open the settings of the output
colorcolumn and usespecsas the source.
The outline marks the settings for color.For
color, add:Regular expression→Color:\s*[^;]+→Remove everything except; thenContains substring→Color:→Remove substring; then trim edges.
The first rule keeps only the color fragment; the second removes the Color:label.Create
materialfrom the samespecsfield and use the same pattern withMaterial:\s*[^;]+, removeMaterial:, then trim.
The materialcolumn uses the same logic with theMaterial:label.Save the template and run the transformation on the final step.
Before / after
Before
source data| sku | specs |
|---|---|
| SKU-100 | Color: black; Material: metal; Size: M |
| SKU-200 | Color: gray; Material: fabric; Size: L |
After
result| sku | color | material |
|---|---|---|
| SKU-100 | black | metal |
| SKU-200 | gray | fabric |