Table editor

How to Normalize Stock Values Like 10+, >10, Out of Stock, and Preorder

2026-06-20

Task

The supplier mixes numbers and text in the stock column: 10+, >10, out of stock, preorder. The import needs a numeric stock value.

Short answer

First keep the number with \d+. For text values, add replacements to 0.

How to Do It in Eofferix

  1. Open the settings of the output stock column.
    Animation showing how to open the stock column settings
    The click is on the settings icon of the stock column.
  2. Add \d+ with Remove everything except, then out of stock0 and preorder0.
    Screenshot of transformation rules for the stock 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
skustock_raw
SKU-50010+
SKU-501>10
SKU-502out of stock
SKU-503preorder

After

result
skustock
SKU-50010
SKU-50110
SKU-5020
SKU-5030

Process data faster with Eofferix

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

Sign up