Table editor

How to Split Price and Currency from One Cell

2026-06-20
Task

One table column contains price and currency together, for example 1 250,50 EUR or 99.90 USD. The result needs separate price and currency columns.

Short answer

For price, keep the number, remove thousand spaces, and replace the decimal comma with a dot. For currency, keep only the symbol or currency code.

How to Do It in Eofferix

  1. Open the settings of the price column.
    Opening the price column settings in Eofferix
    The animation shows the click on the settings icon of the price column.
  2. Add a regex rule for price: [0-9]+(?:\s[0-9]{3})*(?:[,.][0-9]+)?. It keeps only the numeric part.
    Regex rule for extracting the numeric price
    The regex keeps the number and removes the currency text.
  3. If the price contains thousand spaces, add a rule that removes spaces.
    Rule that removes spaces from the price
    After this step, 1 250,50 becomes 1250,50.
  4. Add a rule that replaces comma with dot: search for , and put . in the result field.
    Rule that replaces comma with dot in the price
    The result field contains only a dot, so the decimal part becomes 1250.50.
  5. Create or open the currency column and add a regex rule: \b(?:USD|EUR|GBP)\b|€|\$.
    Regex rule for extracting currency from one cell
    The second result column receives only the currency.

Before / After

Before

source data
raw_price
1 250,50 EUR
99.90 USD

After

result
pricecurrency
1250.50EUR
99.90USD

Process data faster with Eofferix

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

Sign up