Extract section of text

One Star

Extract section of text

Hi everybody,
I need to extract specific lines from a txt file. Is there a component that let me give it the start words and the end words to extract text??
Best regars
Four Stars

Re: Extract section of text

Hi Regers,
Pl explain your scenario in details to narrow down the problem definition...
How ever, you can use String handling (index) routine to identify start and end position of your text and extract text between those positions.
Refer last message from http://www.talendforge.org/forum/viewtopic.php?id=9242 as a sample example.
Thanks
Vaibhav
One Star

Re: Extract section of text

Thanks for your answer, but I'm using talend from few days, so I'm not so good..
Can you please explain better in which component I should check StringHandiling??
regards
Four Stars

Re: Extract section of text

Hi,
Please put a screenshot and contents of actual file to extract data...
Else this is like hitting the target with the closed eyes...
Thanks
Vaibhav
One Star

Re: Extract section of text

Hi,
I've some problems with the login... I'm registered but when I try to login, after insert my own username and password, it do anything...
anyway I've got a simple txt file, with some empty lines, but just a txt file...
regards

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