Support Questions

Find answers, ask questions, and share your expertise

ExtractText expression doesn't work

avatar
New Contributor

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

1 ACCEPTED SOLUTION

avatar
New Contributor

I solved this problem with using 

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

View solution in original post

1 REPLY 1

avatar
New Contributor

I solved this problem with using 

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