Skip to main content
The Regex command (Command Type: 1009) applies regex operations on strings or arrays within a data source. It supports the standard JavaScript regex methods: match, matchAll, search, replace, and replaceAll.

Overview

The Regex command provides functionality for:
  • Matching patterns in string fields
  • Replacing substrings using regex patterns
  • Searching for pattern occurrences
  • Applying flags like g, i, m, u, s for fine-grained control

Command Type

Command Type ID: 1009

Parameters

Usage Examples

Match a Pattern

Replace a Substring

Replace All Occurrences

Case-Insensitive Match

Supported Methods

Common Use Cases

  • Data Cleaning: Remove or replace unwanted characters from string fields
  • Pattern Extraction: Extract numeric IDs, codes, or tokens from raw text
  • Normalization: Standardize formats (e.g. date strings, phone numbers)