Skip to main content
riicaampos
Gold ⭐️
Sep 9, 2019 6:17 PM UTC
Solved

ExtractText expression doesn't work

Hi,

I have e simple txt file for test:

1;God of War 1
2;God of War 2
3;God of War 3
4;God of War 4
5;God of War Chains of Olympus
6;God of War Ghost of Sparta
7;God of War Ascension
8;Batman Arkhan Asylum
9;Batman Arkhan City
10;Batman Arkhan Knight

I want get the values and split with a ExtractText processor. I create two properties in processor, id and desc

id value -> (.*?);

desc value -> .*?;(.*?);

When the process goes to matched relationship, it get only id value, and desc property comes blank

riicaampos
Gold ⭐️
Sep 9, 2019 7:55 PM UTC

I solved this problem with using 

(.*?); in first attribute 
and .*?;(.*) in the second

1 reply

riicaampos
riicaamposAuthorAnswer
Gold ⭐️
Sep 9, 2019 7:55 PM UTC

I solved this problem with using 

(.*?); in first attribute 
and .*?;(.*) in the second
Translate