Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

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
Labels (2)
4 Replies
Anonymous
Not applicable

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 https://community.talend.com/t5/Design-and-Development/Talend-Java-string-manipulation-for-Find-or-S... as a sample example.
Thanks
Vaibhav
_AnonymousUser
Specialist III
Specialist III
Author

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
Anonymous
Not applicable

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
_AnonymousUser
Specialist III
Specialist III
Author

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