Identifying if a column matches a pattern - Cloud

Talend Cloud Data Preparation User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Data Quality and Preparation > Cleansing data
EnrichPlatform
Talend Data Preparation
If you want to identify whether a column matches a pattern you define, with or without a regular expression, you can use the Matches Pattern function.

Procedure

  1. Select the column on which you want to apply the pattern.
  2. In the Functions panel, type Matches Pattern and click the result to open the options for the associated function.
  3. Click the Submit button to apply the function.

Results

This creates a new column with the value true if the pattern matches and false if it does not.