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,sfor fine-grained control
Command Type
Command Type ID: 1009Parameters
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)
Related Commands
- String Manipulation - Apply JS string methods to fields
- String Split - Split strings by a delimiter
- Filter - Filter objects after regex extraction