Identifying if your data matches a pattern - 8.0

Talend Data Preparation Examples

Version
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Content
Data Quality and Preparation > Cleansing data
Last publication date
2024-01-12

If you want to identify whether there are mobile phone numbers among the landline numbers, you can use the Matches Pattern function.

Because the French mobile phone numbers start with 06, you are going to search for this pattern in the Phone column.

Procedure

  1. Select the column on which you want to apply the pattern, Phone in this example.
  2. In the functions panel, type Matches pattern and click the result to open the options for the associated function.
  3. Configure the function as follows.
  4. Click the Submit button to apply the function.

    A new column is created, with the value true if the pattern matches and false if it does not

Results

The information is stored in a new column and you can now apply a filter to isolate the mobile phone numbers present in the Phone column.