Skip to content

Extract numbers

Description

The Extract Numbers activity scans a text column and extracts numeric values using various extraction modes. It supports multiple formats such as plain numbers, currency amounts, scientific notation, and even expanded notations (e.g., 5K → 5000).

Use case:
Extracting invoice amounts, order IDs, and numeric metrics from unstructured strings such as “Order #1234, Amount: $45.67” or “Salary: 120K”.


Input

TypeDescription
DataDataset containing a text column

Output

TypeDescription
Transformed DataOriginal or enhanced data with numeric values extracted from text

Configuration Fields

Field NameRequiredDescription
ColumnYesName of the text column from which to extract numbers
Extract ModeYesExtraction strategy:
  • Several – Extract all numbers separately
  • JSON Array – Store as an array
  • Expand Notation – Convert notation like 1K to 1000
  • Decimal Separator – Handle regional decimal formats
Output ColumnYesName of the column to store the extracted numbers
Include OriginalNoWhether to keep the original column in the final output
SeparatorConditionalCharacter used to split values (only shown when Extract Mode is Decimal Separator)

Sample Input

Transaction Details
Order #1234, Amount: $45.67
Invoice 56789 - $120.50
Product ID: 998, Price: $30.00

Sample Configuration

FieldValue
ColumnTransaction Details
Extract ModeSeveral
Output ColumnExtracted Numbers
Include OriginalYes
SeparatorNot Applicable

Sample Output

Transaction DetailsExtracted Numbers_1Extracted Numbers_2
Order #1234, Amount: $45.67123445.67
Invoice 56789 - $120.5056789120.50
Product ID: 998, Price: $30.0099830.00