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

View solution in original post


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

View solution in original post

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 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog