Extracting the numbers contained in a column - Cloud

Talend Cloud Data Preparation User Guide

Version
Cloud
Language
English
Product
Talend Cloud
Module
Talend Data Preparation
Content
Administration and Monitoring > Managing connections
Data Quality and Preparation > Cleansing data
Data Quality and Preparation > Managing datasets
Last publication date
2024-04-15
If you want to use the numbers contained in a column, such as the postal code in an address, you may want to extract this numbers to a new column.

Procedure

  1. Select the column from which you want to extract numbers.
  2. In the Functions panel, type Extract Number and click the result to execute the associated function.

Results

The numbers contained in the selected column are extracted to a new column. If the numbers are written using metric prefixes, such as 1k instead of 1000, they will be extracted and written using the American standard.
Tip: This transformation can also be performed by using the Magic fill function.