Table editor

How to Extract Product Color from the Product Name

2026-06-20

Task

The color is written in the product name, for example Basic T-shirt XL black. The catalog needs a separate color column.

Short answer

Create color from name and add a small dictionary: when the name contains a color, replace the value with the normalized color.

How to Do It in Eofferix

  1. Open the settings of the output color column.
    Animation showing how to open the color column settings
    The click is on the settings icon of the color column.
  2. In Transformations, add substring rules: blackblack, whitewhite.
    Screenshot of transformation rules for the color column
    The Transformations block shows the full rule chain for this case.
  3. Save the column settings and go to the Export step.

Before / After

Before

source data
skuname
SKU-400Basic T-shirt XL black
SKU-401Outdoor jacket M white

After

result
skucolor
SKU-400black
SKU-401white

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up