Hello. I am having a problem extracting specific data from a PDF document.
The text in question is : Dataregnskabxxx-105(TFV)(KUNSLS)Seg2111202009/07/2020Sidenr.1
I want to take the 3 digits after Seg2, so I need RegEx to match it RIGHT after (KUNSLS), as there is another place in the document were Seg2 appears. So I need to specify, that it should match right after (KUNSLS).
I have tried this expression, but it is not working : (KUNSLS)Seg2(.){3}
This expression works: (?<=Seg2)(.){3} , but as mentioned earlier, it matches with another place in the PDF, so I need to specify the precise location.
Am I using a wrong expression? Thanks in advance
Kind regards