numbers before text

Five Stars

numbers before text

Hello,

 

Please could you help me with below request.

 

input

 

abcdef 12 abcdef

abcdef 2 abcdef

 

output

12

2

 

how do i select just numbers before the before string abcdef

 

Thanks.

 

Eight Stars

Re: numbers before text

Use textractregexfields
https://help.talend.com/reader/WWQ40R_iTE5~~9VkUQrjgQ/gDLE3n7ZkrbHVl8Joqu1HA

With regex
"([a-z]*) ([0-9]*) ([a-z]*)"

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.