Using tExtractRegexFields to Extract 1 to n names from field

Five Stars

Using tExtractRegexFields to Extract 1 to n names from field

I have a field called FirstName, this field contains First Names and also First/Middle/Last separated by forward slashes. Example: Carolus/T/Holman. I need to split this on the Slash. Ii have tried a few things but nothing is working. I need to get the RegEx code to split the Field. I have also tried the tExtractDelimitedFields with the same results. 

 

Thanks.

Carolus Holman

Accepted Solutions
Nine Stars

Re: Using tExtractRegexFields to Extract 1 to n names from field

Hi,

 

Please try below.

 

Split_Reg1.PNGSplit_Reg2.PNG

 

Please let me know if you have any issues.

Regards,

 

Veeru Boppudi

All Replies
Nine Stars

Re: Using tExtractRegexFields to Extract 1 to n names from field

Hi,

 

Please try below.

 

Split_Reg1.PNGSplit_Reg2.PNG

 

Please let me know if you have any issues.

Regards,

 

Veeru Boppudi
Five Stars

Re: Using tExtractRegexFields to Extract 1 to n names from field

I thought the output was self-mapping, when I added expected columns, then the component worked. Thank you.

Carolus Holman

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch