Table editor

How to Split Product Dimensions into Length, Width, and Height

2026-06-20

Task

One dimensions column contains values like 120 x 60 x 75 cm. A marketplace or catalog import needs separate length_cm, width_cm, and height_cm columns.

Short answer

Create three output columns and keep the needed number in each one with a regex. For width and height, remove the x separator and extra text after extraction.

How to Do It in Eofferix

  1. Open the settings of the length_cm column.
    Animation showing how to open the length_cm column settings
    The table shows the source dimensions column and three output dimension columns.
  2. For length_cm, add the regex [0-9]+(?:[,.][0-9]+)? with Remove everything except.
    length_cm regex rule
    This rule keeps the first number: 120.
  3. For width_cm, use [x×]\s*[0-9]+(?:[,.][0-9]+)?, then remove x and trim spaces.
    width_cm rules
    The chain turns x 60 into 60.
  4. For height_cm, use [x×]\s*[0-9]+(?:[,.][0-9]+)?\s*(?:cm)?$, then remove x, cm, and trim spaces.
    height_cm rules
    The last part of the string becomes 75.
  5. Save the column settings and go to the Export step.

Before / After

Before

source data
skudimensions
SKU-200120 x 60 x 75 cm
SKU-20180 x 40 x 45 cm

After

result
skulength_cmwidth_cmheight_cm
SKU-2001206075
SKU-201804045

Process data faster with Eofferix

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

Sign up